INNER CODE UNIT · Python

__repr__

google-antigravity/antigravity-sdk-python · google/antigravity/beta/__init__.py:119

  def __repr__(self) -> str:
    target = (
        f"instance of {self._owner.__name__}"
        if self._instance is not None
        else self._owner.__name__
    )
    return f"<BetaNamespace for {target}>"


class BetaNamespace:
  """Descriptor providing the `.beta` attribute on SDK classes and instances."""

  is_beta = staticmethod(is_beta)

  if TYPE_CHECKING:

    def __getattr__(self, name: str) -> Any:
      ...

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…