anyscale 0.24.88__py3-none-any.whl → 0.24.91__py3-none-any.whl

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.
Files changed (115) hide show
  1. anyscale/__init__.py +46 -0
  2. anyscale/_private/anyscale_client/anyscale_client.py +148 -28
  3. anyscale/_private/anyscale_client/common.py +74 -1
  4. anyscale/_private/anyscale_client/fake_anyscale_client.py +165 -1
  5. anyscale/_private/docgen/README.md +1 -1
  6. anyscale/_private/docgen/__main__.py +62 -19
  7. anyscale/_private/docgen/api.md +0 -20
  8. anyscale/_private/docgen/generator.py +3 -2
  9. anyscale/_private/docgen/models.md +1 -46
  10. anyscale/_private/workload/workload_config.py +1 -1
  11. anyscale/aggregated_instance_usage/__init__.py +1 -1
  12. anyscale/aggregated_instance_usage/commands.py +2 -4
  13. anyscale/aggregated_instance_usage/models.py +8 -8
  14. anyscale/client/README.md +15 -22
  15. anyscale/client/openapi_client/__init__.py +10 -14
  16. anyscale/client/openapi_client/api/default_api.py +634 -957
  17. anyscale/client/openapi_client/models/__init__.py +10 -14
  18. anyscale/client/openapi_client/models/{session_event_types.py → cloud_deployment_config.py} +35 -24
  19. anyscale/client/openapi_client/models/{platformfinetuningjob_response.py → clouddeploymentconfig_response.py} +11 -11
  20. anyscale/client/openapi_client/models/{company_size.py → cluster_size.py} +10 -10
  21. anyscale/client/openapi_client/models/cluster_status_details.py +2 -1
  22. anyscale/client/openapi_client/models/create_experimental_workspace.py +29 -1
  23. anyscale/client/openapi_client/models/{resubmit_ft_job_request.py → describe_machine_pool_request.py} +21 -20
  24. anyscale/client/openapi_client/models/describe_machine_pool_response.py +123 -0
  25. anyscale/client/openapi_client/models/{fine_tuning_job_status.py → describemachinepoolresponse_response.py} +34 -16
  26. anyscale/client/openapi_client/models/machine_allocation_state.py +3 -1
  27. anyscale/client/openapi_client/models/machine_state_info.py +326 -0
  28. anyscale/client/openapi_client/models/organization_marketing_questions.py +80 -54
  29. anyscale/client/openapi_client/models/request_state_info.py +210 -0
  30. anyscale/client/openapi_client/models/{sessionevent_list_response.py → scheduler_info.py} +43 -38
  31. anyscale/client/openapi_client/models/usage_by_cluster.py +28 -1
  32. anyscale/client/openapi_client/models/usage_by_user.py +30 -3
  33. anyscale/client/openapi_client/models/workload_info.py +210 -0
  34. anyscale/cloud/__init__.py +83 -0
  35. anyscale/cloud/_private/cloud_sdk.py +25 -0
  36. anyscale/cloud/commands.py +45 -0
  37. anyscale/cloud/models.py +91 -0
  38. anyscale/cluster_compute.py +1 -1
  39. anyscale/commands/aggregated_instance_usage_commands.py +4 -4
  40. anyscale/commands/cloud_commands.py +38 -2
  41. anyscale/commands/command_examples.py +61 -0
  42. anyscale/commands/job_commands.py +15 -3
  43. anyscale/commands/machine_pool_commands.py +113 -1
  44. anyscale/commands/organization_invitation_commands.py +98 -0
  45. anyscale/commands/project_commands.py +52 -2
  46. anyscale/commands/resource_quota_commands.py +98 -11
  47. anyscale/commands/service_commands.py +1 -1
  48. anyscale/commands/session_commands_hidden.py +5 -1
  49. anyscale/commands/user_commands.py +1 -1
  50. anyscale/commands/util.py +1 -1
  51. anyscale/commands/workspace_commands.py +1 -1
  52. anyscale/connect.py +1 -1
  53. anyscale/connect_utils/project.py +7 -4
  54. anyscale/controllers/cloud_controller.py +6 -6
  55. anyscale/controllers/cloud_functional_verification_controller.py +1 -1
  56. anyscale/controllers/cluster_controller.py +2 -2
  57. anyscale/controllers/compute_config_controller.py +1 -1
  58. anyscale/controllers/experimental_integrations_controller.py +1 -1
  59. anyscale/controllers/job_controller.py +8 -3
  60. anyscale/controllers/list_controller.py +2 -2
  61. anyscale/controllers/machine_pool_controller.py +12 -1
  62. anyscale/controllers/project_controller.py +4 -3
  63. anyscale/controllers/schedule_controller.py +1 -1
  64. anyscale/controllers/service_controller.py +1 -1
  65. anyscale/controllers/workspace_controller.py +1 -1
  66. anyscale/models/job_model.py +1 -1
  67. anyscale/organization_invitation/__init__.py +61 -0
  68. anyscale/organization_invitation/_private/organization_invitation_sdk.py +24 -0
  69. anyscale/organization_invitation/commands.py +84 -0
  70. anyscale/organization_invitation/models.py +45 -0
  71. anyscale/project/__init__.py +35 -0
  72. anyscale/project/_private/project_sdk.py +27 -0
  73. anyscale/project/commands.py +56 -0
  74. anyscale/project/models.py +91 -0
  75. anyscale/{project.py → project_utils.py} +3 -4
  76. anyscale/resource_quota/__init__.py +99 -0
  77. anyscale/resource_quota/_private/resource_quota_sdk.py +111 -0
  78. anyscale/resource_quota/commands.py +150 -0
  79. anyscale/resource_quota/models.py +303 -0
  80. anyscale/scripts.py +4 -0
  81. anyscale/sdk/anyscale_client/__init__.py +0 -5
  82. anyscale/sdk/anyscale_client/api/default_api.py +0 -150
  83. anyscale/sdk/anyscale_client/models/__init__.py +0 -5
  84. anyscale/sdk/anyscale_client/models/cluster_status_details.py +2 -1
  85. anyscale/sdk/anyscale_client/sdk.py +1 -1
  86. anyscale/user/__init__.py +1 -1
  87. anyscale/user/commands.py +1 -1
  88. anyscale/user/models.py +25 -15
  89. anyscale/util.py +15 -0
  90. anyscale/utils/cloud_utils.py +1 -1
  91. anyscale/version.py +1 -1
  92. anyscale/workspace_utils.py +1 -1
  93. {anyscale-0.24.88.dist-info → anyscale-0.24.91.dist-info}/METADATA +1 -5
  94. {anyscale-0.24.88.dist-info → anyscale-0.24.91.dist-info}/RECORD +100 -94
  95. anyscale/client/openapi_client/models/create_fine_tuning_hyperparameters.py +0 -156
  96. anyscale/client/openapi_client/models/create_fine_tuning_job_product_request.py +0 -353
  97. anyscale/client/openapi_client/models/finish_ft_job_request.py +0 -204
  98. anyscale/client/openapi_client/models/log_level_types.py +0 -100
  99. anyscale/client/openapi_client/models/platform_fine_tuning_job.py +0 -577
  100. anyscale/client/openapi_client/models/platformfinetuningjob_list_response.py +0 -147
  101. anyscale/client/openapi_client/models/session_event.py +0 -267
  102. anyscale/client/openapi_client/models/session_event_cause.py +0 -150
  103. anyscale/controllers/resource_quota_controller.py +0 -183
  104. anyscale/sdk/anyscale_client/models/log_level_types.py +0 -100
  105. anyscale/sdk/anyscale_client/models/session_event.py +0 -267
  106. anyscale/sdk/anyscale_client/models/session_event_cause.py +0 -150
  107. anyscale/sdk/anyscale_client/models/session_event_types.py +0 -111
  108. anyscale/sdk/anyscale_client/models/sessionevent_list_response.py +0 -147
  109. anyscale/utils/imports/azure.py +0 -14
  110. /anyscale/{cloud.py → cloud_utils.py} +0 -0
  111. {anyscale-0.24.88.dist-info → anyscale-0.24.91.dist-info}/LICENSE +0 -0
  112. {anyscale-0.24.88.dist-info → anyscale-0.24.91.dist-info}/NOTICE +0 -0
  113. {anyscale-0.24.88.dist-info → anyscale-0.24.91.dist-info}/WHEEL +0 -0
  114. {anyscale-0.24.88.dist-info → anyscale-0.24.91.dist-info}/entry_points.txt +0 -0
  115. {anyscale-0.24.88.dist-info → anyscale-0.24.91.dist-info}/top_level.txt +0 -0
@@ -123,6 +123,7 @@ from openapi_client.models.cloud_data_bucket_presigned_url_request import CloudD
123
123
  from openapi_client.models.cloud_data_bucket_presigned_url_response import CloudDataBucketPresignedUrlResponse
124
124
  from openapi_client.models.cloud_data_bucket_presigned_url_scheme import CloudDataBucketPresignedUrlScheme
125
125
  from openapi_client.models.cloud_data_bucket_request_scope import CloudDataBucketRequestScope
126
+ from openapi_client.models.cloud_deployment_config import CloudDeploymentConfig
126
127
  from openapi_client.models.cloud_hosting_type import CloudHostingType
127
128
  from openapi_client.models.cloud_list_response import CloudListResponse
128
129
  from openapi_client.models.cloud_name_options import CloudNameOptions
@@ -147,6 +148,7 @@ from openapi_client.models.cloud_with_cloud_resource_gcp import CloudWithCloudRe
147
148
  from openapi_client.models.cloudcollaborator_list_response import CloudcollaboratorListResponse
148
149
  from openapi_client.models.clouddatabucketpresigneduploadinfo_response import ClouddatabucketpresigneduploadinfoResponse
149
150
  from openapi_client.models.clouddatabucketpresignedurlresponse_response import ClouddatabucketpresignedurlresponseResponse
151
+ from openapi_client.models.clouddeploymentconfig_response import ClouddeploymentconfigResponse
150
152
  from openapi_client.models.cloudoverviewdashboard_response import CloudoverviewdashboardResponse
151
153
  from openapi_client.models.cloudregionandzones_response import CloudregionandzonesResponse
152
154
  from openapi_client.models.cloudresource_response import CloudresourceResponse
@@ -161,6 +163,7 @@ from openapi_client.models.cluster_event import ClusterEvent
161
163
  from openapi_client.models.cluster_events_output import ClusterEventsOutput
162
164
  from openapi_client.models.cluster_features import ClusterFeatures
163
165
  from openapi_client.models.cluster_management_stack_versions import ClusterManagementStackVersions
166
+ from openapi_client.models.cluster_size import ClusterSize
164
167
  from openapi_client.models.cluster_startup import ClusterStartup
165
168
  from openapi_client.models.cluster_status import ClusterStatus
166
169
  from openapi_client.models.cluster_status_details import ClusterStatusDetails
@@ -169,7 +172,6 @@ from openapi_client.models.clusterconfig_response import ClusterconfigResponse
169
172
  from openapi_client.models.clusterconfigwithsessionidletimeout_response import ClusterconfigwithsessionidletimeoutResponse
170
173
  from openapi_client.models.clustereventsoutput_response import ClustereventsoutputResponse
171
174
  from openapi_client.models.clusterfeatures_response import ClusterfeaturesResponse
172
- from openapi_client.models.company_size import CompanySize
173
175
  from openapi_client.models.compute_node_type import ComputeNodeType
174
176
  from openapi_client.models.compute_stack import ComputeStack
175
177
  from openapi_client.models.compute_template import ComputeTemplate
@@ -198,8 +200,6 @@ from openapi_client.models.create_compute_template_config import CreateComputeTe
198
200
  from openapi_client.models.create_dataset import CreateDataset
199
201
  from openapi_client.models.create_experimental_workspace import CreateExperimentalWorkspace
200
202
  from openapi_client.models.create_experimental_workspace_from_job import CreateExperimentalWorkspaceFromJob
201
- from openapi_client.models.create_fine_tuning_hyperparameters import CreateFineTuningHyperparameters
202
- from openapi_client.models.create_fine_tuning_job_product_request import CreateFineTuningJobProductRequest
203
203
  from openapi_client.models.create_instance_usage_budget import CreateInstanceUsageBudget
204
204
  from openapi_client.models.create_internal_production_job import CreateInternalProductionJob
205
205
  from openapi_client.models.create_job_queue_config import CreateJobQueueConfig
@@ -296,6 +296,9 @@ from openapi_client.models.delete_machine_request import DeleteMachineRequest
296
296
  from openapi_client.models.deleted_platform_fine_tuned_model import DeletedPlatformFineTunedModel
297
297
  from openapi_client.models.deletedplatformfinetunedmodel_response import DeletedplatformfinetunedmodelResponse
298
298
  from openapi_client.models.deletemachinepoolresponse_response import DeletemachinepoolresponseResponse
299
+ from openapi_client.models.describe_machine_pool_request import DescribeMachinePoolRequest
300
+ from openapi_client.models.describe_machine_pool_response import DescribeMachinePoolResponse
301
+ from openapi_client.models.describemachinepoolresponse_response import DescribemachinepoolresponseResponse
299
302
  from openapi_client.models.detach_machine_pool_from_cloud_request import DetachMachinePoolFromCloudRequest
300
303
  from openapi_client.models.detachmachinepoolfromcloudresponse_response import DetachmachinepoolfromcloudresponseResponse
301
304
  from openapi_client.models.dismissal_type import DismissalType
@@ -320,10 +323,8 @@ from openapi_client.models.feature_flag_response import FeatureFlagResponse
320
323
  from openapi_client.models.featureflagresponse_response import FeatureflagresponseResponse
321
324
  from openapi_client.models.fine_tune_type import FineTuneType
322
325
  from openapi_client.models.fine_tuned_model import FineTunedModel
323
- from openapi_client.models.fine_tuning_job_status import FineTuningJobStatus
324
326
  from openapi_client.models.finetunedmodel_list_response import FinetunedmodelListResponse
325
327
  from openapi_client.models.finetunedmodel_response import FinetunedmodelResponse
326
- from openapi_client.models.finish_ft_job_request import FinishFTJobRequest
327
328
  from openapi_client.models.finish_ft_job_request_v2 import FinishFTJobRequestV2
328
329
  from openapi_client.models.gcp_file_store_config import GCPFileStoreConfig
329
330
  from openapi_client.models.gcp_memorystore_instance_config import GCPMemorystoreInstanceConfig
@@ -393,7 +394,6 @@ from openapi_client.models.log_file_chunk import LogFileChunk
393
394
  from openapi_client.models.log_filter import LogFilter
394
395
  from openapi_client.models.log_item import LogItem
395
396
  from openapi_client.models.log_item_batch import LogItemBatch
396
- from openapi_client.models.log_level_types import LogLevelTypes
397
397
  from openapi_client.models.log_stream import LogStream
398
398
  from openapi_client.models.logdetails_response import LogdetailsResponse
399
399
  from openapi_client.models.logdownloadresult_response import LogdownloadresultResponse
@@ -408,6 +408,7 @@ from openapi_client.models.machine_allocation_state import MachineAllocationStat
408
408
  from openapi_client.models.machine_connection_state import MachineConnectionState
409
409
  from openapi_client.models.machine_info import MachineInfo
410
410
  from openapi_client.models.machine_pool import MachinePool
411
+ from openapi_client.models.machine_state_info import MachineStateInfo
411
412
  from openapi_client.models.metronome_customer_info_model import MetronomeCustomerInfoModel
412
413
  from openapi_client.models.metronome_dashboard_type import MetronomeDashboardType
413
414
  from openapi_client.models.metronomecustomerinfomodel_list_response import MetronomecustomerinfomodelListResponse
@@ -469,9 +470,6 @@ from openapi_client.models.organizationusagealert_list_response import Organizat
469
470
  from openapi_client.models.page_query import PageQuery
470
471
  from openapi_client.models.pause_schedule import PauseSchedule
471
472
  from openapi_client.models.permission_level import PermissionLevel
472
- from openapi_client.models.platform_fine_tuning_job import PlatformFineTuningJob
473
- from openapi_client.models.platformfinetuningjob_list_response import PlatformfinetuningjobListResponse
474
- from openapi_client.models.platformfinetuningjob_response import PlatformfinetuningjobResponse
475
473
  from openapi_client.models.product_autoscaler_flag import ProductAutoscalerFlag
476
474
  from openapi_client.models.product_type import ProductType
477
475
  from openapi_client.models.productautoscalerflag_response import ProductautoscalerflagResponse
@@ -513,6 +511,7 @@ from openapi_client.models.replica_state import ReplicaState
513
511
  from openapi_client.models.request_email_magic_link_response import RequestEmailMagicLinkResponse
514
512
  from openapi_client.models.request_otp_return_api_model import RequestOTPReturnApiModel
515
513
  from openapi_client.models.request_password_reset_params import RequestPasswordResetParams
514
+ from openapi_client.models.request_state_info import RequestStateInfo
516
515
  from openapi_client.models.requestemailmagiclinkresponse_response import RequestemailmagiclinkresponseResponse
517
516
  from openapi_client.models.requestotpreturnapimodel_response import RequestotpreturnapimodelResponse
518
517
  from openapi_client.models.reset_password_params import ResetPasswordParams
@@ -521,13 +520,13 @@ from openapi_client.models.resource_quota_status import ResourceQuotaStatus
521
520
  from openapi_client.models.resourcequota_list_response import ResourcequotaListResponse
522
521
  from openapi_client.models.resourcequota_response import ResourcequotaResponse
523
522
  from openapi_client.models.resources import Resources
524
- from openapi_client.models.resubmit_ft_job_request import ResubmitFTJobRequest
525
523
  from openapi_client.models.rollback_service_model import RollbackServiceModel
526
524
  from openapi_client.models.rollout_strategy import RolloutStrategy
527
525
  from openapi_client.models.s3_download_location import S3DownloadLocation
528
526
  from openapi_client.models.sso_login_info import SSOLoginInfo
529
527
  from openapi_client.models.supportedbaseimagesenum import SUPPORTEDBASEIMAGESENUM
530
528
  from openapi_client.models.schedule_config import ScheduleConfig
529
+ from openapi_client.models.scheduler_info import SchedulerInfo
531
530
  from openapi_client.models.serve_deployment_grafana_dashboard_status import ServeDeploymentGrafanaDashboardStatus
532
531
  from openapi_client.models.serve_deployment_logs import ServeDeploymentLogs
533
532
  from openapi_client.models.serve_deployment_state import ServeDeploymentState
@@ -560,9 +559,6 @@ from openapi_client.models.session_create_message import SessionCreateMessage
560
559
  from openapi_client.models.session_delete_message import SessionDeleteMessage
561
560
  from openapi_client.models.session_describe import SessionDescribe
562
561
  from openapi_client.models.session_details import SessionDetails
563
- from openapi_client.models.session_event import SessionEvent
564
- from openapi_client.models.session_event_cause import SessionEventCause
565
- from openapi_client.models.session_event_types import SessionEventTypes
566
562
  from openapi_client.models.session_execute_message import SessionExecuteMessage
567
563
  from openapi_client.models.session_finish_command_message import SessionFinishCommandMessage
568
564
  from openapi_client.models.session_history_item import SessionHistoryItem
@@ -580,7 +576,6 @@ from openapi_client.models.sessioncommand_list_response import SessioncommandLis
580
576
  from openapi_client.models.sessioncommandid_response import SessioncommandidResponse
581
577
  from openapi_client.models.sessiondescribe_response import SessiondescribeResponse
582
578
  from openapi_client.models.sessiondetails_response import SessiondetailsResponse
583
- from openapi_client.models.sessionevent_list_response import SessioneventListResponse
584
579
  from openapi_client.models.sessionhistoryitem_list_response import SessionhistoryitemListResponse
585
580
  from openapi_client.models.sessions_sort_field import SessionsSortField
586
581
  from openapi_client.models.sessionsshkey_response import SessionsshkeyResponse
@@ -658,6 +653,7 @@ from openapi_client.models.web_terminal import WebTerminal
658
653
  from openapi_client.models.webterminal_list_response import WebterminalListResponse
659
654
  from openapi_client.models.webterminal_response import WebterminalResponse
660
655
  from openapi_client.models.worker_node_type import WorkerNodeType
656
+ from openapi_client.models.workload_info import WorkloadInfo
661
657
  from openapi_client.models.workload_type import WorkloadType
662
658
  from openapi_client.models.workspace_dataplane_artifact import WorkspaceDataplaneArtifact
663
659
  from openapi_client.models.workspace_dataplane_artifacts import WorkspaceDataplaneArtifacts