Download data/src/elevenlabs/workspace/__init__.py from introvoyz045/elevenlabs-python: direct link, hf CLI and curl.
- Browser
- Download file 9.33 kB
-
https://huggingface.co/datasets/introvoyz045/elevenlabs-python/resolve/main/data/src/elevenlabs/workspace/__init__.py
- Command line
-
hf download hf://datasets/introvoyz045/elevenlabs-python/data/src/elevenlabs/workspace/__init__.py
-
curl -L -o __init__.py https://huggingface.co/datasets/introvoyz045/elevenlabs-python/resolve/main/data/src/elevenlabs/workspace/__init__.py
9.33 kB
| # This file was auto-generated by Fern from our API Definition. | |
| # isort: skip_file | |
| import typing | |
| from importlib import import_module | |
| if typing.TYPE_CHECKING: | |
| from .resources import BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole | |
| from . import analytics, audit_logs, auth_connections, groups, invites, members, resources, usage | |
| from .auth_connections import ( | |
| AuthConnectionsCreateRequestBody, | |
| AuthConnectionsCreateRequestBody_BasicAuth, | |
| AuthConnectionsCreateRequestBody_BearerAuth, | |
| AuthConnectionsCreateRequestBody_CustomHeaderAuth, | |
| AuthConnectionsCreateRequestBody_Mtls, | |
| AuthConnectionsCreateRequestBody_Oauth2ClientCredentials, | |
| AuthConnectionsCreateRequestBody_Oauth2Jwt, | |
| AuthConnectionsCreateRequestBody_PrivateKeyJwt, | |
| AuthConnectionsCreateResponse, | |
| AuthConnectionsCreateResponse_ApiIntegrationOauth2AuthCode, | |
| AuthConnectionsCreateResponse_ApiIntegrationOauth2CustomApp, | |
| AuthConnectionsCreateResponse_BasicAuth, | |
| AuthConnectionsCreateResponse_BearerAuth, | |
| AuthConnectionsCreateResponse_CustomHeaderAuth, | |
| AuthConnectionsCreateResponse_Mtls, | |
| AuthConnectionsCreateResponse_Oauth2ClientCredentials, | |
| AuthConnectionsCreateResponse_Oauth2Jwt, | |
| AuthConnectionsCreateResponse_PrivateKeyJwt, | |
| AuthConnectionsCreateResponse_RefreshTokenAuth, | |
| AuthConnectionsCreateResponse_SlackBotAuth, | |
| AuthConnectionsCreateResponse_UrlSecret, | |
| AuthConnectionsCreateResponse_WhatsappAuth, | |
| AuthConnectionsUpdateRequestBody, | |
| AuthConnectionsUpdateRequestBody_BasicAuth, | |
| AuthConnectionsUpdateRequestBody_BearerAuth, | |
| AuthConnectionsUpdateRequestBody_Oauth2ClientCredentials, | |
| AuthConnectionsUpdateRequestBody_Oauth2Jwt, | |
| AuthConnectionsUpdateResponse, | |
| AuthConnectionsUpdateResponse_ApiIntegrationOauth2AuthCode, | |
| AuthConnectionsUpdateResponse_ApiIntegrationOauth2CustomApp, | |
| AuthConnectionsUpdateResponse_BasicAuth, | |
| AuthConnectionsUpdateResponse_BearerAuth, | |
| AuthConnectionsUpdateResponse_CustomHeaderAuth, | |
| AuthConnectionsUpdateResponse_Mtls, | |
| AuthConnectionsUpdateResponse_Oauth2ClientCredentials, | |
| AuthConnectionsUpdateResponse_Oauth2Jwt, | |
| AuthConnectionsUpdateResponse_PrivateKeyJwt, | |
| AuthConnectionsUpdateResponse_RefreshTokenAuth, | |
| AuthConnectionsUpdateResponse_SlackBotAuth, | |
| AuthConnectionsUpdateResponse_UrlSecret, | |
| AuthConnectionsUpdateResponse_WhatsappAuth, | |
| ) | |
| from .usage import BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePostGroupByItem | |
| _dynamic_imports: typing.Dict[str, str] = { | |
| "AuthConnectionsCreateRequestBody": ".auth_connections", | |
| "AuthConnectionsCreateRequestBody_BasicAuth": ".auth_connections", | |
| "AuthConnectionsCreateRequestBody_BearerAuth": ".auth_connections", | |
| "AuthConnectionsCreateRequestBody_CustomHeaderAuth": ".auth_connections", | |
| "AuthConnectionsCreateRequestBody_Mtls": ".auth_connections", | |
| "AuthConnectionsCreateRequestBody_Oauth2ClientCredentials": ".auth_connections", | |
| "AuthConnectionsCreateRequestBody_Oauth2Jwt": ".auth_connections", | |
| "AuthConnectionsCreateRequestBody_PrivateKeyJwt": ".auth_connections", | |
| "AuthConnectionsCreateResponse": ".auth_connections", | |
| "AuthConnectionsCreateResponse_ApiIntegrationOauth2AuthCode": ".auth_connections", | |
| "AuthConnectionsCreateResponse_ApiIntegrationOauth2CustomApp": ".auth_connections", | |
| "AuthConnectionsCreateResponse_BasicAuth": ".auth_connections", | |
| "AuthConnectionsCreateResponse_BearerAuth": ".auth_connections", | |
| "AuthConnectionsCreateResponse_CustomHeaderAuth": ".auth_connections", | |
| "AuthConnectionsCreateResponse_Mtls": ".auth_connections", | |
| "AuthConnectionsCreateResponse_Oauth2ClientCredentials": ".auth_connections", | |
| "AuthConnectionsCreateResponse_Oauth2Jwt": ".auth_connections", | |
| "AuthConnectionsCreateResponse_PrivateKeyJwt": ".auth_connections", | |
| "AuthConnectionsCreateResponse_RefreshTokenAuth": ".auth_connections", | |
| "AuthConnectionsCreateResponse_SlackBotAuth": ".auth_connections", | |
| "AuthConnectionsCreateResponse_UrlSecret": ".auth_connections", | |
| "AuthConnectionsCreateResponse_WhatsappAuth": ".auth_connections", | |
| "AuthConnectionsUpdateRequestBody": ".auth_connections", | |
| "AuthConnectionsUpdateRequestBody_BasicAuth": ".auth_connections", | |
| "AuthConnectionsUpdateRequestBody_BearerAuth": ".auth_connections", | |
| "AuthConnectionsUpdateRequestBody_Oauth2ClientCredentials": ".auth_connections", | |
| "AuthConnectionsUpdateRequestBody_Oauth2Jwt": ".auth_connections", | |
| "AuthConnectionsUpdateResponse": ".auth_connections", | |
| "AuthConnectionsUpdateResponse_ApiIntegrationOauth2AuthCode": ".auth_connections", | |
| "AuthConnectionsUpdateResponse_ApiIntegrationOauth2CustomApp": ".auth_connections", | |
| "AuthConnectionsUpdateResponse_BasicAuth": ".auth_connections", | |
| "AuthConnectionsUpdateResponse_BearerAuth": ".auth_connections", | |
| "AuthConnectionsUpdateResponse_CustomHeaderAuth": ".auth_connections", | |
| "AuthConnectionsUpdateResponse_Mtls": ".auth_connections", | |
| "AuthConnectionsUpdateResponse_Oauth2ClientCredentials": ".auth_connections", | |
| "AuthConnectionsUpdateResponse_Oauth2Jwt": ".auth_connections", | |
| "AuthConnectionsUpdateResponse_PrivateKeyJwt": ".auth_connections", | |
| "AuthConnectionsUpdateResponse_RefreshTokenAuth": ".auth_connections", | |
| "AuthConnectionsUpdateResponse_SlackBotAuth": ".auth_connections", | |
| "AuthConnectionsUpdateResponse_UrlSecret": ".auth_connections", | |
| "AuthConnectionsUpdateResponse_WhatsappAuth": ".auth_connections", | |
| "BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePostGroupByItem": ".usage", | |
| "BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole": ".resources", | |
| "analytics": ".analytics", | |
| "audit_logs": ".audit_logs", | |
| "auth_connections": ".auth_connections", | |
| "groups": ".groups", | |
| "invites": ".invites", | |
| "members": ".members", | |
| "resources": ".resources", | |
| "usage": ".usage", | |
| } | |
| def __getattr__(attr_name: str) -> typing.Any: | |
| module_name = _dynamic_imports.get(attr_name) | |
| if module_name is None: | |
| raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") | |
| try: | |
| module = import_module(module_name, __package__) | |
| if module_name == f".{attr_name}": | |
| return module | |
| else: | |
| return getattr(module, attr_name) | |
| except ImportError as e: | |
| raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e | |
| except AttributeError as e: | |
| raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e | |
| def __dir__(): | |
| lazy_attrs = list(_dynamic_imports.keys()) | |
| return sorted(lazy_attrs) | |
| __all__ = [ | |
| "AuthConnectionsCreateRequestBody", | |
| "AuthConnectionsCreateRequestBody_BasicAuth", | |
| "AuthConnectionsCreateRequestBody_BearerAuth", | |
| "AuthConnectionsCreateRequestBody_CustomHeaderAuth", | |
| "AuthConnectionsCreateRequestBody_Mtls", | |
| "AuthConnectionsCreateRequestBody_Oauth2ClientCredentials", | |
| "AuthConnectionsCreateRequestBody_Oauth2Jwt", | |
| "AuthConnectionsCreateRequestBody_PrivateKeyJwt", | |
| "AuthConnectionsCreateResponse", | |
| "AuthConnectionsCreateResponse_ApiIntegrationOauth2AuthCode", | |
| "AuthConnectionsCreateResponse_ApiIntegrationOauth2CustomApp", | |
| "AuthConnectionsCreateResponse_BasicAuth", | |
| "AuthConnectionsCreateResponse_BearerAuth", | |
| "AuthConnectionsCreateResponse_CustomHeaderAuth", | |
| "AuthConnectionsCreateResponse_Mtls", | |
| "AuthConnectionsCreateResponse_Oauth2ClientCredentials", | |
| "AuthConnectionsCreateResponse_Oauth2Jwt", | |
| "AuthConnectionsCreateResponse_PrivateKeyJwt", | |
| "AuthConnectionsCreateResponse_RefreshTokenAuth", | |
| "AuthConnectionsCreateResponse_SlackBotAuth", | |
| "AuthConnectionsCreateResponse_UrlSecret", | |
| "AuthConnectionsCreateResponse_WhatsappAuth", | |
| "AuthConnectionsUpdateRequestBody", | |
| "AuthConnectionsUpdateRequestBody_BasicAuth", | |
| "AuthConnectionsUpdateRequestBody_BearerAuth", | |
| "AuthConnectionsUpdateRequestBody_Oauth2ClientCredentials", | |
| "AuthConnectionsUpdateRequestBody_Oauth2Jwt", | |
| "AuthConnectionsUpdateResponse", | |
| "AuthConnectionsUpdateResponse_ApiIntegrationOauth2AuthCode", | |
| "AuthConnectionsUpdateResponse_ApiIntegrationOauth2CustomApp", | |
| "AuthConnectionsUpdateResponse_BasicAuth", | |
| "AuthConnectionsUpdateResponse_BearerAuth", | |
| "AuthConnectionsUpdateResponse_CustomHeaderAuth", | |
| "AuthConnectionsUpdateResponse_Mtls", | |
| "AuthConnectionsUpdateResponse_Oauth2ClientCredentials", | |
| "AuthConnectionsUpdateResponse_Oauth2Jwt", | |
| "AuthConnectionsUpdateResponse_PrivateKeyJwt", | |
| "AuthConnectionsUpdateResponse_RefreshTokenAuth", | |
| "AuthConnectionsUpdateResponse_SlackBotAuth", | |
| "AuthConnectionsUpdateResponse_UrlSecret", | |
| "AuthConnectionsUpdateResponse_WhatsappAuth", | |
| "BodyGetWorkspaceUsageV1WorkspaceAnalyticsQueryUsageByProductOverTimePostGroupByItem", | |
| "BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole", | |
| "analytics", | |
| "audit_logs", | |
| "auth_connections", | |
| "groups", | |
| "invites", | |
| "members", | |
| "resources", | |
| "usage", | |
| ] | |