beamlit 0.0.34rc67__tar.gz → 0.0.34rc69__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/PKG-INFO +1 -1
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/pyproject.toml +1 -1
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/agents/chat.py +2 -2
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/agents/decorator.py +1 -1
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/agent.py +3 -3
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/agent_metadata.py +1 -1
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/agent_spec.py +6 -6
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/core_spec.py +5 -5
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/core_spec_configurations.py +1 -1
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/environment.py +2 -2
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/environment_metadata.py +1 -1
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/function.py +3 -3
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/function_metadata.py +1 -1
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/function_spec.py +5 -5
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/integration_connection.py +2 -2
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/integration_connection_spec.py +2 -2
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/metadata.py +1 -1
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/model.py +3 -3
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/model_metadata.py +1 -1
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/model_provider.py +2 -2
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/model_spec.py +5 -5
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/pending_invitation_accept.py +1 -1
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/pending_invitation_render.py +3 -3
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/policy.py +2 -2
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/provider_config.py +1 -1
- beamlit-0.0.34rc69/src/beamlit/models/repository_type_0.py +70 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/resource_deployment_metrics.py +6 -4
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/resource_deployment_metrics_query_per_second_per_region_per_code.py +1 -1
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/resource_environment_metrics.py +1 -1
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/resource_metrics.py +1 -1
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/runtime.py +2 -2
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/store_agent.py +1 -1
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/store_function.py +1 -1
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/workspace.py +1 -1
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/.gitignore +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/README.md +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/beamlit.yaml +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/agents/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/agents/chain.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/agents/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/agents/create_agent.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/agents/create_agent_release.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/agents/delete_agent.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/agents/delete_agent_history.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/agents/get_agent.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/agents/get_agent_environment_logs.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/agents/get_agent_history.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/agents/get_agent_metrics.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/agents/get_agent_trace_ids.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/agents/list_agent_history.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/agents/list_agents.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/agents/put_agent_history.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/agents/update_agent.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/configurations/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/configurations/get_configuration.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/default/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/default/get_trace.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/default/get_trace_ids.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/default/get_trace_logs.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/environments/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/environments/create_environment.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/environments/delete_environment.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/environments/get_environment.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/environments/get_environment_metrics.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/environments/list_environments.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/environments/update_environment.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/functions/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/functions/create_function.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/functions/create_function_release.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/functions/delete_function.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/functions/get_function.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/functions/get_function_environment_logs.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/functions/get_function_metrics.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/functions/get_function_trace_ids.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/functions/list_functions.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/functions/update_function.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/history/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/history/get_agents_history.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/history/list_agents_history.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/integrations/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/integrations/create_integration_connection.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/integrations/delete_integration_connection.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/integrations/get_integration.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/integrations/get_integration_connection.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/integrations/get_integration_connection_model.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/integrations/get_integration_model.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/integrations/list_integration_connection_models.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/integrations/list_integration_connections.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/integrations/list_integration_models.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/integrations/update_integration_connection.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/invitations/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/invitations/list_all_pending_invitations.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/locations/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/locations/list_locations.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/metrics/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/metrics/get_metrics.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/model_providers/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/model_providers/create_model_provider.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/model_providers/delete_model_provider.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/model_providers/get_model_provider.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/model_providers/list_model_providers.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/model_providers/update_model_provider.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/models/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/models/create_model.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/models/delete_model.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/models/get_model.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/models/get_model_environment_logs.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/models/get_model_metrics.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/models/get_model_trace_ids.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/models/list_models.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/models/release_model.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/models/update_model.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/policies/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/policies/create_policy.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/policies/delete_policy.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/policies/get_policy.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/policies/list_policies.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/policies/update_policy.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/privateclusters/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/privateclusters/create_private_cluster.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/privateclusters/delete_private_cluster.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/privateclusters/get_private_cluster.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/privateclusters/get_private_cluster_health.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/privateclusters/list_private_clusters.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/privateclusters/update_private_cluster.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/privateclusters/update_private_cluster_health.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/service_accounts/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/service_accounts/create_api_key_for_service_account.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/service_accounts/create_workspace_service_account.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/service_accounts/delete_api_key_for_service_account.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/service_accounts/delete_workspace_service_account.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/service_accounts/get_workspace_service_accounts.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/service_accounts/list_api_keys_for_service_account.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/service_accounts/update_workspace_service_account.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/store/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/store/get_store_agent.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/store/get_store_function.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/store/list_store_agents.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/store/list_store_functions.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/workspaces/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/workspaces/accept_workspace_invitation.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/workspaces/create_worspace.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/workspaces/decline_workspace_invitation.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/workspaces/delete_workspace.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/workspaces/get_workspace.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/workspaces/invite_workspace_user.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/workspaces/leave_workspace.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/workspaces/list_workspace_users.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/workspaces/list_workspaces.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/workspaces/remove_workspace_user.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/workspaces/update_workspace.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/api/workspaces/update_workspace_user_role.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/authentication/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/authentication/apikey.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/authentication/authentication.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/authentication/clientcredentials.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/authentication/credentials.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/authentication/device_mode.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/client.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/common/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/common/error.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/common/instrumentation.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/common/logger.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/common/secrets.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/common/settings.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/common/slugify.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/common/utils.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/deploy/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/deploy/deploy.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/deploy/format.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/deploy/parser.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/errors.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/functions/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/functions/decorator.py +2 -2
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/functions/github/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/functions/github/github.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/functions/github/kit/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/functions/github/kit/pull_request.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/functions/math/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/functions/math/math.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/functions/mcp/mcp.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/functions/remote/remote.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/functions/search/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/functions/search/search.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/acl.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/agent_chain.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/agent_history.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/agent_history_event.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/agent_release.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/api_key.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/configuration.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/continent.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/core_event.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/core_status.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/country.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/create_api_key_for_service_account_body.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/create_workspace_service_account_body.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/create_workspace_service_account_response_200.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/delete_workspace_service_account_response_200.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/environment_metrics.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/environment_spec.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/flavor.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/function_kit.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/function_release.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/get_trace_ids_response_200.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/get_trace_logs_response_200.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/get_trace_response_200.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/get_workspace_service_accounts_response_200_item.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/increase_and_rate_metric.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/integration_config.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/integration_connection_config.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/integration_connection_secret.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/integration_model.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/integration_repository.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/invite_workspace_user_body.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/last_n_requests_metric.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/latency_metric.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/location_response.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/metadata_labels.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/metric.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/metrics.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/model_private_cluster.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/model_release.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/owner_fields.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/pending_invitation.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/pending_invitation_render_invited_by.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/pending_invitation_render_workspace.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/pending_invitation_workspace_details.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/pod_template_spec.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/policy_location.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/policy_spec.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/private_cluster.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/private_location.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/qps.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/repository.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/request_total_metric.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/resource_deployment_metrics_inference_per_second_per_region.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/resource_environment_metrics_inference_per_region.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/resource_environment_metrics_inference_per_second_per_region.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/resource_environment_metrics_query_per_region_per_code.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/resource_environment_metrics_query_per_second_per_region_per_code.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/resource_log.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/runtime_readiness_probe.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/runtime_resources.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/serverless_config.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/spec_configuration.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/store_agent_labels.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/store_configuration.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/store_configuration_option.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/store_function_kit.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/store_function_labels.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/store_function_parameter.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/time_fields.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/trace_ids_response.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/update_workspace_service_account_body.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/update_workspace_service_account_response_200.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/update_workspace_user_role_body.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/websocket_channel.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/workspace_labels.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/workspace_user.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/py.typed +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/run.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/serve/app.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/serve/middlewares/__init__.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/serve/middlewares/accesslog.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/serve/middlewares/processtime.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/types.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/integrationtest/agent.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/integrationtest/beamlit.yaml +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/integrationtest/functions/helloworld.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/integrationtest/main.py +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/integrationtest/pyproject.toml +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/integrationtest/uv.lock +0 -0
- {beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/uv.lock +0 -0
@@ -3,10 +3,10 @@ from typing import Tuple, Union
|
|
3
3
|
|
4
4
|
from langchain_core.language_models import BaseChatModel
|
5
5
|
|
6
|
+
from beamlit.api.models import get_model
|
6
7
|
from beamlit.authentication import get_authentication_headers, new_client
|
7
8
|
from beamlit.common.settings import get_settings
|
8
9
|
from beamlit.models import Model
|
9
|
-
from beamlit.api.models import get_model
|
10
10
|
|
11
11
|
logger = getLogger(__name__)
|
12
12
|
|
@@ -50,7 +50,7 @@ def get_chat_model(name: str, agent_model: Union[Model, None] = None) -> Tuple[B
|
|
50
50
|
if agent_model is None:
|
51
51
|
try:
|
52
52
|
agent_model = get_model.sync(name, client=client, environment=settings.environment)
|
53
|
-
except Exception
|
53
|
+
except Exception:
|
54
54
|
logger.warning(f"Model {name} not found, defaulting to gpt-4o-mini")
|
55
55
|
|
56
56
|
environment = (agent_model and agent_model.metadata and agent_model.metadata.environment) or settings.environment
|
@@ -109,7 +109,7 @@ def agent(
|
|
109
109
|
)
|
110
110
|
models = ", ".join([model.metadata.name for model in models.parsed])
|
111
111
|
models_select = f"You can select one from the your models: {models}"
|
112
|
-
except Exception
|
112
|
+
except Exception:
|
113
113
|
pass
|
114
114
|
|
115
115
|
raise ValueError(f"You must provide a model.\n"
|
@@ -41,15 +41,15 @@ class Agent:
|
|
41
41
|
events.append(componentsschemas_core_events_item)
|
42
42
|
|
43
43
|
metadata: Union[Unset, dict[str, Any]] = UNSET
|
44
|
-
if not isinstance(self.metadata, Unset):
|
44
|
+
if self.metadata and not isinstance(self.metadata, Unset):
|
45
45
|
metadata = self.metadata.to_dict()
|
46
46
|
|
47
47
|
spec: Union[Unset, dict[str, Any]] = UNSET
|
48
|
-
if not isinstance(self.spec, Unset):
|
48
|
+
if self.spec and not isinstance(self.spec, Unset):
|
49
49
|
spec = self.spec.to_dict()
|
50
50
|
|
51
51
|
status: Union[Unset, dict[str, Any]] = UNSET
|
52
|
-
if not isinstance(self.status, Unset):
|
52
|
+
if self.status and not isinstance(self.status, Unset):
|
53
53
|
status = self.status.to_dict()
|
54
54
|
|
55
55
|
field_dict: dict[str, Any] = {}
|
@@ -51,7 +51,7 @@ class AgentMetadata:
|
|
51
51
|
display_name = self.display_name
|
52
52
|
|
53
53
|
labels: Union[Unset, dict[str, Any]] = UNSET
|
54
|
-
if not isinstance(self.labels, Unset):
|
54
|
+
if self.labels and not isinstance(self.labels, Unset):
|
55
55
|
labels = self.labels.to_dict()
|
56
56
|
|
57
57
|
name = self.name
|
@@ -60,7 +60,7 @@ class AgentSpec:
|
|
60
60
|
|
61
61
|
def to_dict(self) -> dict[str, Any]:
|
62
62
|
configurations: Union[Unset, dict[str, Any]] = UNSET
|
63
|
-
if not isinstance(self.configurations, Unset):
|
63
|
+
if self.configurations and not isinstance(self.configurations, Unset):
|
64
64
|
configurations = self.configurations.to_dict()
|
65
65
|
|
66
66
|
enabled = self.enabled
|
@@ -77,7 +77,7 @@ class AgentSpec:
|
|
77
77
|
integration_connections = self.integration_connections
|
78
78
|
|
79
79
|
pod_template: Union[Unset, dict[str, Any]] = UNSET
|
80
|
-
if not isinstance(self.pod_template, Unset):
|
80
|
+
if self.pod_template and not isinstance(self.pod_template, Unset):
|
81
81
|
pod_template = self.pod_template.to_dict()
|
82
82
|
|
83
83
|
policies: Union[Unset, list[str]] = UNSET
|
@@ -85,15 +85,15 @@ class AgentSpec:
|
|
85
85
|
policies = self.policies
|
86
86
|
|
87
87
|
private_clusters: Union[Unset, dict[str, Any]] = UNSET
|
88
|
-
if not isinstance(self.private_clusters, Unset):
|
88
|
+
if self.private_clusters and not isinstance(self.private_clusters, Unset):
|
89
89
|
private_clusters = self.private_clusters.to_dict()
|
90
90
|
|
91
91
|
runtime: Union[Unset, dict[str, Any]] = UNSET
|
92
|
-
if not isinstance(self.runtime, Unset):
|
92
|
+
if self.runtime and not isinstance(self.runtime, Unset):
|
93
93
|
runtime = self.runtime.to_dict()
|
94
94
|
|
95
95
|
serverless_config: Union[Unset, dict[str, Any]] = UNSET
|
96
|
-
if not isinstance(self.serverless_config, Unset):
|
96
|
+
if self.serverless_config and not isinstance(self.serverless_config, Unset):
|
97
97
|
serverless_config = self.serverless_config.to_dict()
|
98
98
|
|
99
99
|
agent_chain: Union[Unset, list[dict[str, Any]]] = UNSET
|
@@ -112,7 +112,7 @@ class AgentSpec:
|
|
112
112
|
model = self.model
|
113
113
|
|
114
114
|
repository: Union[Unset, dict[str, Any]] = UNSET
|
115
|
-
if not isinstance(self.repository, Unset):
|
115
|
+
if self.repository and not isinstance(self.repository, Unset):
|
116
116
|
repository = self.repository.to_dict()
|
117
117
|
|
118
118
|
store_id = self.store_id
|
@@ -46,7 +46,7 @@ class CoreSpec:
|
|
46
46
|
|
47
47
|
def to_dict(self) -> dict[str, Any]:
|
48
48
|
configurations: Union[Unset, dict[str, Any]] = UNSET
|
49
|
-
if not isinstance(self.configurations, Unset):
|
49
|
+
if self.configurations and not isinstance(self.configurations, Unset):
|
50
50
|
configurations = self.configurations.to_dict()
|
51
51
|
|
52
52
|
enabled = self.enabled
|
@@ -63,7 +63,7 @@ class CoreSpec:
|
|
63
63
|
integration_connections = self.integration_connections
|
64
64
|
|
65
65
|
pod_template: Union[Unset, dict[str, Any]] = UNSET
|
66
|
-
if not isinstance(self.pod_template, Unset):
|
66
|
+
if self.pod_template and not isinstance(self.pod_template, Unset):
|
67
67
|
pod_template = self.pod_template.to_dict()
|
68
68
|
|
69
69
|
policies: Union[Unset, list[str]] = UNSET
|
@@ -71,15 +71,15 @@ class CoreSpec:
|
|
71
71
|
policies = self.policies
|
72
72
|
|
73
73
|
private_clusters: Union[Unset, dict[str, Any]] = UNSET
|
74
|
-
if not isinstance(self.private_clusters, Unset):
|
74
|
+
if self.private_clusters and not isinstance(self.private_clusters, Unset):
|
75
75
|
private_clusters = self.private_clusters.to_dict()
|
76
76
|
|
77
77
|
runtime: Union[Unset, dict[str, Any]] = UNSET
|
78
|
-
if not isinstance(self.runtime, Unset):
|
78
|
+
if self.runtime and not isinstance(self.runtime, Unset):
|
79
79
|
runtime = self.runtime.to_dict()
|
80
80
|
|
81
81
|
serverless_config: Union[Unset, dict[str, Any]] = UNSET
|
82
|
-
if not isinstance(self.serverless_config, Unset):
|
82
|
+
if self.serverless_config and not isinstance(self.serverless_config, Unset):
|
83
83
|
serverless_config = self.serverless_config.to_dict()
|
84
84
|
|
85
85
|
field_dict: dict[str, Any] = {}
|
@@ -26,7 +26,7 @@ class CoreSpecConfigurations:
|
|
26
26
|
|
27
27
|
def to_dict(self) -> dict[str, Any]:
|
28
28
|
key: Union[Unset, dict[str, Any]] = UNSET
|
29
|
-
if not isinstance(self.key, Unset):
|
29
|
+
if self.key and not isinstance(self.key, Unset):
|
30
30
|
key = self.key.to_dict()
|
31
31
|
|
32
32
|
field_dict: dict[str, Any] = {}
|
@@ -28,11 +28,11 @@ class Environment:
|
|
28
28
|
|
29
29
|
def to_dict(self) -> dict[str, Any]:
|
30
30
|
metadata: Union[Unset, dict[str, Any]] = UNSET
|
31
|
-
if not isinstance(self.metadata, Unset):
|
31
|
+
if self.metadata and not isinstance(self.metadata, Unset):
|
32
32
|
metadata = self.metadata.to_dict()
|
33
33
|
|
34
34
|
spec: Union[Unset, dict[str, Any]] = UNSET
|
35
|
-
if not isinstance(self.spec, Unset):
|
35
|
+
if self.spec and not isinstance(self.spec, Unset):
|
36
36
|
spec = self.spec.to_dict()
|
37
37
|
|
38
38
|
field_dict: dict[str, Any] = {}
|
@@ -51,7 +51,7 @@ class EnvironmentMetadata:
|
|
51
51
|
display_name = self.display_name
|
52
52
|
|
53
53
|
labels: Union[Unset, dict[str, Any]] = UNSET
|
54
|
-
if not isinstance(self.labels, Unset):
|
54
|
+
if self.labels and not isinstance(self.labels, Unset):
|
55
55
|
labels = self.labels.to_dict()
|
56
56
|
|
57
57
|
name = self.name
|
@@ -41,15 +41,15 @@ class Function:
|
|
41
41
|
events.append(componentsschemas_core_events_item)
|
42
42
|
|
43
43
|
metadata: Union[Unset, dict[str, Any]] = UNSET
|
44
|
-
if not isinstance(self.metadata, Unset):
|
44
|
+
if self.metadata and not isinstance(self.metadata, Unset):
|
45
45
|
metadata = self.metadata.to_dict()
|
46
46
|
|
47
47
|
spec: Union[Unset, dict[str, Any]] = UNSET
|
48
|
-
if not isinstance(self.spec, Unset):
|
48
|
+
if self.spec and not isinstance(self.spec, Unset):
|
49
49
|
spec = self.spec.to_dict()
|
50
50
|
|
51
51
|
status: Union[Unset, dict[str, Any]] = UNSET
|
52
|
-
if not isinstance(self.status, Unset):
|
52
|
+
if self.status and not isinstance(self.status, Unset):
|
53
53
|
status = self.status.to_dict()
|
54
54
|
|
55
55
|
field_dict: dict[str, Any] = {}
|
@@ -51,7 +51,7 @@ class FunctionMetadata:
|
|
51
51
|
display_name = self.display_name
|
52
52
|
|
53
53
|
labels: Union[Unset, dict[str, Any]] = UNSET
|
54
|
-
if not isinstance(self.labels, Unset):
|
54
|
+
if self.labels and not isinstance(self.labels, Unset):
|
55
55
|
labels = self.labels.to_dict()
|
56
56
|
|
57
57
|
name = self.name
|
@@ -57,7 +57,7 @@ class FunctionSpec:
|
|
57
57
|
|
58
58
|
def to_dict(self) -> dict[str, Any]:
|
59
59
|
configurations: Union[Unset, dict[str, Any]] = UNSET
|
60
|
-
if not isinstance(self.configurations, Unset):
|
60
|
+
if self.configurations and not isinstance(self.configurations, Unset):
|
61
61
|
configurations = self.configurations.to_dict()
|
62
62
|
|
63
63
|
enabled = self.enabled
|
@@ -74,7 +74,7 @@ class FunctionSpec:
|
|
74
74
|
integration_connections = self.integration_connections
|
75
75
|
|
76
76
|
pod_template: Union[Unset, dict[str, Any]] = UNSET
|
77
|
-
if not isinstance(self.pod_template, Unset):
|
77
|
+
if self.pod_template and not isinstance(self.pod_template, Unset):
|
78
78
|
pod_template = self.pod_template.to_dict()
|
79
79
|
|
80
80
|
policies: Union[Unset, list[str]] = UNSET
|
@@ -82,15 +82,15 @@ class FunctionSpec:
|
|
82
82
|
policies = self.policies
|
83
83
|
|
84
84
|
private_clusters: Union[Unset, dict[str, Any]] = UNSET
|
85
|
-
if not isinstance(self.private_clusters, Unset):
|
85
|
+
if self.private_clusters and not isinstance(self.private_clusters, Unset):
|
86
86
|
private_clusters = self.private_clusters.to_dict()
|
87
87
|
|
88
88
|
runtime: Union[Unset, dict[str, Any]] = UNSET
|
89
|
-
if not isinstance(self.runtime, Unset):
|
89
|
+
if self.runtime and not isinstance(self.runtime, Unset):
|
90
90
|
runtime = self.runtime.to_dict()
|
91
91
|
|
92
92
|
serverless_config: Union[Unset, dict[str, Any]] = UNSET
|
93
|
-
if not isinstance(self.serverless_config, Unset):
|
93
|
+
if self.serverless_config and not isinstance(self.serverless_config, Unset):
|
94
94
|
serverless_config = self.serverless_config.to_dict()
|
95
95
|
|
96
96
|
description = self.description
|
@@ -28,11 +28,11 @@ class IntegrationConnection:
|
|
28
28
|
|
29
29
|
def to_dict(self) -> dict[str, Any]:
|
30
30
|
metadata: Union[Unset, dict[str, Any]] = UNSET
|
31
|
-
if not isinstance(self.metadata, Unset):
|
31
|
+
if self.metadata and not isinstance(self.metadata, Unset):
|
32
32
|
metadata = self.metadata.to_dict()
|
33
33
|
|
34
34
|
spec: Union[Unset, dict[str, Any]] = UNSET
|
35
|
-
if not isinstance(self.spec, Unset):
|
35
|
+
if self.spec and not isinstance(self.spec, Unset):
|
36
36
|
spec = self.spec.to_dict()
|
37
37
|
|
38
38
|
field_dict: dict[str, Any] = {}
|
@@ -30,13 +30,13 @@ class IntegrationConnectionSpec:
|
|
30
30
|
|
31
31
|
def to_dict(self) -> dict[str, Any]:
|
32
32
|
config: Union[Unset, dict[str, Any]] = UNSET
|
33
|
-
if not isinstance(self.config, Unset):
|
33
|
+
if self.config and not isinstance(self.config, Unset):
|
34
34
|
config = self.config.to_dict()
|
35
35
|
|
36
36
|
integration = self.integration
|
37
37
|
|
38
38
|
secret: Union[Unset, dict[str, Any]] = UNSET
|
39
|
-
if not isinstance(self.secret, Unset):
|
39
|
+
if self.secret and not isinstance(self.secret, Unset):
|
40
40
|
secret = self.secret.to_dict()
|
41
41
|
|
42
42
|
field_dict: dict[str, Any] = {}
|
@@ -41,15 +41,15 @@ class Model:
|
|
41
41
|
events.append(componentsschemas_core_events_item)
|
42
42
|
|
43
43
|
metadata: Union[Unset, dict[str, Any]] = UNSET
|
44
|
-
if not isinstance(self.metadata, Unset):
|
44
|
+
if self.metadata and not isinstance(self.metadata, Unset):
|
45
45
|
metadata = self.metadata.to_dict()
|
46
46
|
|
47
47
|
spec: Union[Unset, dict[str, Any]] = UNSET
|
48
|
-
if not isinstance(self.spec, Unset):
|
48
|
+
if self.spec and not isinstance(self.spec, Unset):
|
49
49
|
spec = self.spec.to_dict()
|
50
50
|
|
51
51
|
status: Union[Unset, dict[str, Any]] = UNSET
|
52
|
-
if not isinstance(self.status, Unset):
|
52
|
+
if self.status and not isinstance(self.status, Unset):
|
53
53
|
status = self.status.to_dict()
|
54
54
|
|
55
55
|
field_dict: dict[str, Any] = {}
|
@@ -51,7 +51,7 @@ class ModelMetadata:
|
|
51
51
|
display_name = self.display_name
|
52
52
|
|
53
53
|
labels: Union[Unset, dict[str, Any]] = UNSET
|
54
|
-
if not isinstance(self.labels, Unset):
|
54
|
+
if self.labels and not isinstance(self.labels, Unset):
|
55
55
|
labels = self.labels.to_dict()
|
56
56
|
|
57
57
|
name = self.name
|
@@ -56,13 +56,13 @@ class ModelProvider:
|
|
56
56
|
comment = self.comment
|
57
57
|
|
58
58
|
config: Union[Unset, dict[str, Any]] = UNSET
|
59
|
-
if not isinstance(self.config, Unset):
|
59
|
+
if self.config and not isinstance(self.config, Unset):
|
60
60
|
config = self.config.to_dict()
|
61
61
|
|
62
62
|
display_name = self.display_name
|
63
63
|
|
64
64
|
labels: Union[Unset, dict[str, Any]] = UNSET
|
65
|
-
if not isinstance(self.labels, Unset):
|
65
|
+
if self.labels and not isinstance(self.labels, Unset):
|
66
66
|
labels = self.labels.to_dict()
|
67
67
|
|
68
68
|
name = self.name
|
@@ -48,7 +48,7 @@ class ModelSpec:
|
|
48
48
|
|
49
49
|
def to_dict(self) -> dict[str, Any]:
|
50
50
|
configurations: Union[Unset, dict[str, Any]] = UNSET
|
51
|
-
if not isinstance(self.configurations, Unset):
|
51
|
+
if self.configurations and not isinstance(self.configurations, Unset):
|
52
52
|
configurations = self.configurations.to_dict()
|
53
53
|
|
54
54
|
enabled = self.enabled
|
@@ -65,7 +65,7 @@ class ModelSpec:
|
|
65
65
|
integration_connections = self.integration_connections
|
66
66
|
|
67
67
|
pod_template: Union[Unset, dict[str, Any]] = UNSET
|
68
|
-
if not isinstance(self.pod_template, Unset):
|
68
|
+
if self.pod_template and not isinstance(self.pod_template, Unset):
|
69
69
|
pod_template = self.pod_template.to_dict()
|
70
70
|
|
71
71
|
policies: Union[Unset, list[str]] = UNSET
|
@@ -73,15 +73,15 @@ class ModelSpec:
|
|
73
73
|
policies = self.policies
|
74
74
|
|
75
75
|
private_clusters: Union[Unset, dict[str, Any]] = UNSET
|
76
|
-
if not isinstance(self.private_clusters, Unset):
|
76
|
+
if self.private_clusters and not isinstance(self.private_clusters, Unset):
|
77
77
|
private_clusters = self.private_clusters.to_dict()
|
78
78
|
|
79
79
|
runtime: Union[Unset, dict[str, Any]] = UNSET
|
80
|
-
if not isinstance(self.runtime, Unset):
|
80
|
+
if self.runtime and not isinstance(self.runtime, Unset):
|
81
81
|
runtime = self.runtime.to_dict()
|
82
82
|
|
83
83
|
serverless_config: Union[Unset, dict[str, Any]] = UNSET
|
84
|
-
if not isinstance(self.serverless_config, Unset):
|
84
|
+
if self.serverless_config and not isinstance(self.serverless_config, Unset):
|
85
85
|
serverless_config = self.serverless_config.to_dict()
|
86
86
|
|
87
87
|
model_provider = self.model_provider
|
@@ -29,7 +29,7 @@ class PendingInvitationAccept:
|
|
29
29
|
email = self.email
|
30
30
|
|
31
31
|
workspace: Union[Unset, dict[str, Any]] = UNSET
|
32
|
-
if not isinstance(self.workspace, Unset):
|
32
|
+
if self.workspace and not isinstance(self.workspace, Unset):
|
33
33
|
workspace = self.workspace.to_dict()
|
34
34
|
|
35
35
|
field_dict: dict[str, Any] = {}
|
@@ -41,17 +41,17 @@ class PendingInvitationRender:
|
|
41
41
|
invited_at = self.invited_at
|
42
42
|
|
43
43
|
invited_by: Union[Unset, dict[str, Any]] = UNSET
|
44
|
-
if not isinstance(self.invited_by, Unset):
|
44
|
+
if self.invited_by and not isinstance(self.invited_by, Unset):
|
45
45
|
invited_by = self.invited_by.to_dict()
|
46
46
|
|
47
47
|
role = self.role
|
48
48
|
|
49
49
|
workspace: Union[Unset, dict[str, Any]] = UNSET
|
50
|
-
if not isinstance(self.workspace, Unset):
|
50
|
+
if self.workspace and not isinstance(self.workspace, Unset):
|
51
51
|
workspace = self.workspace.to_dict()
|
52
52
|
|
53
53
|
workspace_details: Union[Unset, dict[str, Any]] = UNSET
|
54
|
-
if not isinstance(self.workspace_details, Unset):
|
54
|
+
if self.workspace_details and not isinstance(self.workspace_details, Unset):
|
55
55
|
workspace_details = self.workspace_details.to_dict()
|
56
56
|
|
57
57
|
field_dict: dict[str, Any] = {}
|
@@ -28,11 +28,11 @@ class Policy:
|
|
28
28
|
|
29
29
|
def to_dict(self) -> dict[str, Any]:
|
30
30
|
metadata: Union[Unset, dict[str, Any]] = UNSET
|
31
|
-
if not isinstance(self.metadata, Unset):
|
31
|
+
if self.metadata and not isinstance(self.metadata, Unset):
|
32
32
|
metadata = self.metadata.to_dict()
|
33
33
|
|
34
34
|
spec: Union[Unset, dict[str, Any]] = UNSET
|
35
|
-
if not isinstance(self.spec, Unset):
|
35
|
+
if self.spec and not isinstance(self.spec, Unset):
|
36
36
|
spec = self.spec.to_dict()
|
37
37
|
|
38
38
|
field_dict: dict[str, Any] = {}
|
@@ -35,7 +35,7 @@ class ProviderConfig:
|
|
35
35
|
presigned_url = self.presigned_url
|
36
36
|
|
37
37
|
runtime: Union[Unset, dict[str, Any]] = UNSET
|
38
|
-
if not isinstance(self.runtime, Unset):
|
38
|
+
if self.runtime and not isinstance(self.runtime, Unset):
|
39
39
|
runtime = self.runtime.to_dict()
|
40
40
|
|
41
41
|
field_dict: dict[str, Any] = {}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
from typing import Any, TypeVar, Union
|
2
|
+
|
3
|
+
from attrs import define as _attrs_define
|
4
|
+
from attrs import field as _attrs_field
|
5
|
+
|
6
|
+
from ..types import UNSET, Unset
|
7
|
+
|
8
|
+
T = TypeVar("T", bound="RepositoryType0")
|
9
|
+
|
10
|
+
|
11
|
+
@_attrs_define
|
12
|
+
class RepositoryType0:
|
13
|
+
"""Repository
|
14
|
+
|
15
|
+
Attributes:
|
16
|
+
type_ (Union[Unset, str]): Repository type
|
17
|
+
url (Union[Unset, str]): Repository URL
|
18
|
+
"""
|
19
|
+
|
20
|
+
type_: Union[Unset, str] = UNSET
|
21
|
+
url: Union[Unset, str] = UNSET
|
22
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
23
|
+
|
24
|
+
def to_dict(self) -> dict[str, Any]:
|
25
|
+
type_ = self.type_
|
26
|
+
|
27
|
+
url = self.url
|
28
|
+
|
29
|
+
field_dict: dict[str, Any] = {}
|
30
|
+
field_dict.update(self.additional_properties)
|
31
|
+
field_dict.update({})
|
32
|
+
if type_ is not UNSET:
|
33
|
+
field_dict["type"] = type_
|
34
|
+
if url is not UNSET:
|
35
|
+
field_dict["url"] = url
|
36
|
+
|
37
|
+
return field_dict
|
38
|
+
|
39
|
+
@classmethod
|
40
|
+
def from_dict(cls: type[T], src_dict: dict[str, Any]) -> T:
|
41
|
+
if not src_dict:
|
42
|
+
return None
|
43
|
+
d = src_dict.copy()
|
44
|
+
type_ = d.pop("type", UNSET)
|
45
|
+
|
46
|
+
url = d.pop("url", UNSET)
|
47
|
+
|
48
|
+
repository_type_0 = cls(
|
49
|
+
type_=type_,
|
50
|
+
url=url,
|
51
|
+
)
|
52
|
+
|
53
|
+
repository_type_0.additional_properties = d
|
54
|
+
return repository_type_0
|
55
|
+
|
56
|
+
@property
|
57
|
+
def additional_keys(self) -> list[str]:
|
58
|
+
return list(self.additional_properties.keys())
|
59
|
+
|
60
|
+
def __getitem__(self, key: str) -> Any:
|
61
|
+
return self.additional_properties[key]
|
62
|
+
|
63
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
64
|
+
self.additional_properties[key] = value
|
65
|
+
|
66
|
+
def __delitem__(self, key: str) -> None:
|
67
|
+
del self.additional_properties[key]
|
68
|
+
|
69
|
+
def __contains__(self, key: str) -> bool:
|
70
|
+
return key in self.additional_properties
|
@@ -55,21 +55,23 @@ class ResourceDeploymentMetrics:
|
|
55
55
|
inference_per_second_global.append(componentsschemas_array_metric_item)
|
56
56
|
|
57
57
|
inference_per_second_per_region: Union[Unset, dict[str, Any]] = UNSET
|
58
|
-
if not isinstance(self.inference_per_second_per_region, Unset):
|
58
|
+
if self.inference_per_second_per_region and not isinstance(self.inference_per_second_per_region, Unset):
|
59
59
|
inference_per_second_per_region = self.inference_per_second_per_region.to_dict()
|
60
60
|
|
61
61
|
query_per_second_global = self.query_per_second_global
|
62
62
|
|
63
63
|
query_per_second_per_code_global: Union[Unset, dict[str, Any]] = UNSET
|
64
|
-
if not isinstance(self.query_per_second_per_code_global, Unset):
|
64
|
+
if self.query_per_second_per_code_global and not isinstance(self.query_per_second_per_code_global, Unset):
|
65
65
|
query_per_second_per_code_global = self.query_per_second_per_code_global.to_dict()
|
66
66
|
|
67
67
|
query_per_second_per_region: Union[Unset, dict[str, Any]] = UNSET
|
68
|
-
if not isinstance(self.query_per_second_per_region, Unset):
|
68
|
+
if self.query_per_second_per_region and not isinstance(self.query_per_second_per_region, Unset):
|
69
69
|
query_per_second_per_region = self.query_per_second_per_region.to_dict()
|
70
70
|
|
71
71
|
query_per_second_per_region_per_code: Union[Unset, dict[str, Any]] = UNSET
|
72
|
-
if not isinstance(
|
72
|
+
if self.query_per_second_per_region_per_code and not isinstance(
|
73
|
+
self.query_per_second_per_region_per_code, Unset
|
74
|
+
):
|
73
75
|
query_per_second_per_region_per_code = self.query_per_second_per_region_per_code.to_dict()
|
74
76
|
|
75
77
|
field_dict: dict[str, Any] = {}
|
@@ -26,7 +26,7 @@ class ResourceDeploymentMetricsQueryPerSecondPerRegionPerCode:
|
|
26
26
|
|
27
27
|
def to_dict(self) -> dict[str, Any]:
|
28
28
|
region: Union[Unset, dict[str, Any]] = UNSET
|
29
|
-
if not isinstance(self.region, Unset):
|
29
|
+
if self.region and not isinstance(self.region, Unset):
|
30
30
|
region = self.region.to_dict()
|
31
31
|
|
32
32
|
field_dict: dict[str, Any] = {}
|
{beamlit-0.0.34rc67 → beamlit-0.0.34rc69}/src/beamlit/models/resource_environment_metrics.py
RENAMED
@@ -52,7 +52,7 @@ class ResourceEnvironmentMetrics:
|
|
52
52
|
last_n_requests.append(componentsschemas_array_metric_item)
|
53
53
|
|
54
54
|
latency: Union[Unset, dict[str, Any]] = UNSET
|
55
|
-
if not isinstance(self.latency, Unset):
|
55
|
+
if self.latency and not isinstance(self.latency, Unset):
|
56
56
|
latency = self.latency.to_dict()
|
57
57
|
|
58
58
|
request_total = self.request_total
|
@@ -36,7 +36,7 @@ class ResourceMetrics:
|
|
36
36
|
inference_global.append(componentsschemas_array_metric_item)
|
37
37
|
|
38
38
|
query_per_region: Union[Unset, dict[str, Any]] = UNSET
|
39
|
-
if not isinstance(self.query_per_region, Unset):
|
39
|
+
if self.query_per_region and not isinstance(self.query_per_region, Unset):
|
40
40
|
query_per_region = self.query_per_region.to_dict()
|
41
41
|
|
42
42
|
field_dict: dict[str, Any] = {}
|
@@ -64,11 +64,11 @@ class Runtime:
|
|
64
64
|
model = self.model
|
65
65
|
|
66
66
|
readiness_probe: Union[Unset, dict[str, Any]] = UNSET
|
67
|
-
if not isinstance(self.readiness_probe, Unset):
|
67
|
+
if self.readiness_probe and not isinstance(self.readiness_probe, Unset):
|
68
68
|
readiness_probe = self.readiness_probe.to_dict()
|
69
69
|
|
70
70
|
resources: Union[Unset, dict[str, Any]] = UNSET
|
71
|
-
if not isinstance(self.resources, Unset):
|
71
|
+
if self.resources and not isinstance(self.resources, Unset):
|
72
72
|
resources = self.resources.to_dict()
|
73
73
|
|
74
74
|
serving_port = self.serving_port
|
@@ -49,7 +49,7 @@ class Workspace:
|
|
49
49
|
display_name = self.display_name
|
50
50
|
|
51
51
|
labels: Union[Unset, dict[str, Any]] = UNSET
|
52
|
-
if not isinstance(self.labels, Unset):
|
52
|
+
if self.labels and not isinstance(self.labels, Unset):
|
53
53
|
labels = self.labels.to_dict()
|
54
54
|
|
55
55
|
name = self.name
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|