modal.Proxy

class Proxy(modal.object.Object)

Proxy objects are used to setup secure tunnel connections to a private remote address, for example a database.

Currently modal.Proxy objects must be setup with the assistance of Modal staff. If you require a proxy please contact us.

def __init__(self, *args, **kwargs):

from_name

@staticmethod
def from_name(
    label: str,
    namespace=api_pb2.DEPLOYMENT_NAMESPACE_WORKSPACE,
    environment_name: Optional[str] = None,
) -> "_Proxy":