code: def get_default(self, ctx):
          
          # Otherwise go with the regular default.
          if callable(self.default):
              rv = self.default()
          else:
              rv = self.default
          return self.type_cast_value(ctx, rv)
docs: Given a context variable this calculates the default value.