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:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@mAZA i ddddddddddddd dd!dd"dd#dd$dd%dd&dd'dd(dd)d*d+di d,dd-dd.dd/dd0dd1dd2dd3d4d5dd6dd7dd8dd9dd:dd;dd<dd=di d>d?d@ddAddBddCdDdEddFddGddHddIdJdKdJdLdJdMdJdNdJdOdJdPdJdQdJi dRdJdSdJdTdJdUdVdWdXdYdZd[dZd\dZd]dZd^dZd_dZd`dZdadZdbddcdddddedi dfddgddhdidjdVdkdldmddnddoddpddqddrddsd4dtdduddvddwddxdi dyddzd{d|dd}dd~dlddlddddddddddddddddddddddi dddddddddddddd4dddd*ddddddJddJddJddddddXi ddddddddddddddddddddddddddddddddddi ddddddddddddddddddddddddddddddddddi dddddddddddddddddddd4ddddddddddddddi dddddddd4ddddddddddddddddddddddddddi ddddddddddddddddddddddddddddddddddi ddddddddddddddddd dddddddddddddddddi d	dd
ddddddd{ddddddddddddddddddddddddi ddddddddddddd dd!dd"dd#dd$dd%dd&dd'dd(dd)dd*di d+dd,dd-dd.dd/dd0dd1dd2d4d3dXd4dZd5dZd6dZd7dZd8dZd9dZd:dZd;dZi d<dd=dd>dd?dd@ddAddBddCddDddEddFddGdHdIdJdJddKdidLdMdNdVi dOdPdQdRdSddTdUdVddWdXdYdXdZdd[d\d]d^d_d`dadldbdDdcdddedfdgddhdid{djdZddkdlZBe j                  eDeDf   eEdm<   dneDdoe j                  fdpZGdq ZHg drZIy(s      N)import_module   )
ActionEnumActionsEnumActivityLogActivityLogResponseAgreementMethodologyEnumAllRolesProjectListAnnotatedEnum
AnnotationAnnotationHistoryAnnotationRequestAnnotationReviewAnnotationReviewRequestAssignmentSettingsAssignmentSettingsRequestAssociatedProjectAuthMethodEnumAuthTypeEnumAzureBlobExportStorageAzureBlobImportStorage"AzureServicePrincipalExportStorage)AzureServicePrincipalExportStorageRequest"AzureServicePrincipalImportStorage)AzureServicePrincipalImportStorageRequestBatchFailedPredictionsBatchPredictionsBillingChecksBillingFlagsBillingInfoResponseBlueprintListBudgetResetPeriodEnumCancelModelRunResponseChildFilterCommentCommentRequest!CommentSerializerWithExpandedUserConfigurablePermissionOptionConvertedFormatConvertedFormatRequest
CountLimitDatabricksExportStorageDatabricksExportStorageRequestDatabricksImportStorageDatabricksImportStorageRequestDefault165EnumDefaultRoleEditionEnumExport
FileUploadFilterFilterGroupFinishedEnumGcsExportStorageGcsImportStorageGcswifExportStorageGcswifExportStorageRequestGcswifImportStorageGcswifImportStorageRequestHotkeysImportApiRequestInferenceRunCostEstimateLabelStreamTaskDistributionEnumLastActionEnumLocalFilesExportStorageLocalFilesImportStorageLseAnnotationFilterOptions!LseAnnotationFilterOptionsRequestLseExportCreate	LseFieldsLseKeyIndicatorValueLseOrganizationLseOrganizationMemberList2LseOrganizationMemberListContributedToProjectsItem,LseOrganizationMemberListCreatedProjectsItem
LseProjectLseProjectCountsLseProjectCreateLseProjectResponseLseProjectUpdateLseS3ExportStorageLseS3ExportStorageRequestLseS3ImportStorageLseS3ImportStorageRequestLseTaskLseTaskDraftsItemLseTaskFilterOptionsLseTaskFilterOptionsRequestLseTaskPredictionsItemLseTaskSerializerForAnnotators(LseTaskSerializerForAnnotatorsDraftsItem-LseTaskSerializerForAnnotatorsPredictionsItemLseTaskSerializerForReviewers'LseTaskSerializerForReviewersDraftsItem,LseTaskSerializerForReviewersPredictionsItemLseUser
LseUserApiLseUserOrganizationMemberList6LseUserOrganizationMemberListContributedToProjectsItem0LseUserOrganizationMemberListCreatedProjectsItemLseapiTokenCreateLseapiTokenListLsejwtSettingsMaybeExpandedCommentMetricParam	MlBackendModeEnumModelInterfaceModelInterfaceRequestModelInterfaceSerializerGetModelProviderConnectionModelProviderConnectionRequestModelRunModelRunStatusEnumOnboardingStateEnumOptions165EnumOrganizationBillingOrganizationIdOrganizationInviteOrganizationMember+OrganizationMemberContributedToProjectsItem%OrganizationMemberCreatedProjectsItemOrganizationMemberTag!OrganizationMemberTagImportStatus+OrganizationMemberTagImportStatusStatusEnumOrganizationMembershipOrganizationPermissionOrganizationPermissionRequest PaginatedAllRolesProjectListListPaginatedAnnotationHistoryList&PaginatedLseOrganizationMemberListListPaginatedLseProjectCountsListPaginatedLseUserList"PaginatedOrganizationMemberTagList#PaginatedPaginatedProjectMemberListPaginatedProjectMember'PaginatedProjectSubsetTasksResponseListPaginatedRoleBasedTaskListPausePauseRequest
PredictionPredictionRequestProjectProjectGroupProjectGroupRequestProjectGroupRoleEnumProjectImportProjectLabelConfigProjectLabelConfigRequestProjectMember#ProjectMemberBulkAssignRolesRequestProjectRoleProjectSubsetEnumProjectSubsetItemProjectSubsetTaskItemProjectSubsetTasksResponseProjectTemplateProjectTemplateRequestPromptsStatusEnumProviderEnum
ReasonEnumRedisExportStorageRedisImportStorageRefinedPromptResponseRequeueRejectedTasksModeEnumReviewCriteriaEnumReviewSettingsReviewSettingsRequestReviewSettingsSamplingEnumReviewedEnumRole9E7EnumRoleBasedTaskS3ExportStorageS3ImportStorageSamlSettingsSamlSettingsUpdateSamplingDe5EnumScimSettingsScimSettingsUpdate	ScopeEnumSelectedItemsRequestSerializationOptionSerializationOptionRequestSerializationOptionsSerializationOptionsRequestSessionTimeoutPolicySimpleOrganizationMemberTagSkillNameEnumSkipQueueEnumSkippedEnum	StateEnumStatus7BfEnumStatusC5AEnumTaskAssignment	TaskEventThirdPartyModelVersionThirdPartyModelVersionRequestTokenRefreshResponseTokenRotateResponseTrialRoleEnumTypeEnum
UserSimpleUserSimpleRequestVersionResponseViewWebhookWebhookSerializerForUpdateWhoAmILseFields
WhoAmIUser	WorkspaceWorkspaceMemberCreateWorkspaceMemberList)BadRequestErrorForbiddenErrorInternalServerErrorMethodNotAllowedErrorNotFoundErrorUnauthorizedError)actionsactivity_logsannotation_historyannotation_reviewsannotationsbillingcommentsexport_storagefilesimport_storagejwt_settingsmlmodel_providersorganizationspredictionsproject_templatesprojectspromptssession_policyssotaskstokensusersversionsviewswebhooks
workspaces)Client)CreateActionsRequestFilters&CreateActionsRequestFiltersConjunction$CreateActionsRequestFiltersItemsItem*CreateActionsRequestFiltersItemsItemFilter,CreateActionsRequestFiltersItemsItemOperator)CreateActionsRequestFiltersItemsItemValueCreateActionsRequestId CreateActionsRequestOrderingItem!CreateActionsRequestSelectedItems)CreateActionsRequestSelectedItemsExcluded)CreateActionsRequestSelectedItemsIncludedListActionsResponseItemListActionsResponseItemDialog!ListActionsResponseItemPermission)ListActivityLogsRequestMethod)DeleteAnnotationHistoryResponse)!CreateBulkAnnotationsResponseItemDeleteBulkAnnotationsResponse)AsyncLabelStudioLabelStudio)LabelStudioEnvironment)"ListTypesExportStorageResponseItem)"ListTypesImportStorageResponseItem)CreateMlRequestAuthMethodListModelVersionsMlResponseUpdateMlRequestAuthMethod).ListModelProviderChoicesModelProvidersResponse)DuplicateProjectsResponse!ImportPredictionsProjectsResponseImportTasksProjectsResponse)+CompatibleProjectsPromptsRequestProjectType)ListTasksRequestFields)GetTokenUsersResponseResetTokenUsersResponse)__version__)CreateViewsRequestDataCreateViewsRequestDataFilters(CreateViewsRequestDataFiltersConjunction&CreateViewsRequestDataFiltersItemsItem,CreateViewsRequestDataFiltersItemsItemFilter.CreateViewsRequestDataFiltersItemsItemOperator+CreateViewsRequestDataFiltersItemsItemValue"CreateViewsRequestDataOrderingItemUpdateViewsRequestDataUpdateViewsRequestDataFilters(UpdateViewsRequestDataFiltersConjunction&UpdateViewsRequestDataFiltersItemsItem,UpdateViewsRequestDataFiltersItemsItemFilter.UpdateViewsRequestDataFiltersItemsItemOperator+UpdateViewsRequestDataFiltersItemsItemValue"UpdateViewsRequestDataOrderingItem)InfoWebhooksResponse%InfoWebhooksResponseAnnotationCreated%InfoWebhooksResponseAnnotationUpdated&InfoWebhooksResponseAnnotationsCreated&InfoWebhooksResponseAnnotationsDeleted$InfoWebhooksResponseLabelLinkCreated$InfoWebhooksResponseLabelLinkDeleted$InfoWebhooksResponseLabelLinkUpdated"InfoWebhooksResponseProjectCreated"InfoWebhooksResponseProjectDeleted"InfoWebhooksResponseProjectUpdated!InfoWebhooksResponseReviewCreated!InfoWebhooksResponseReviewUpdated"InfoWebhooksResponseReviewsDeleted InfoWebhooksResponseTasksCreated InfoWebhooksResponseTasksDeletedr   z.typesr   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r  z.clientr   r   r   r   r   r   r   r   r   z.errorsr   r   r   r   r    r!   r"   r#   r$   r   z._legacyr%   r&   r'   r  z.promptsr(   r)   r*   r+   r   z.actionsr   r   r   r   r   r   r   r  r  r  r	  z.annotationsr  z.mlr  z.viewsr  r  r  r   r!  r"  r#  r,   r-   r.   r/   r0   r1   r  z.annotation_historyr
  r  z	.projectsr2   r3   r4   r5   r6   r7   r   r8   r9   r:   r;   r<   r=   r  z.usersr>   r?   r  r  r@   r,  z	.webhooksr-  r.  r/  r0  r1  r2  r3  r4  r5  r6  r7  r8  r9  r:  r;  r   rA   r  r  z.environmentrB   r  r  r  r  z.activity_logsr  z.model_providersr  r  z.tasksr  z.export_storager  z.import_storagerC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   r   rk   rl   rm   rn   ro   rp   rq   rr   rs   rt   r   ru   rv   rw   rx   ry   rz   r{   r|   r}   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r$  r%  r&  r'  r(  r)  r*  r+  r   r   r   r   r   r   r   r   r   r   r   r  z.versionr   r   r   r   z.annotation_reviewsr   r   z.billingr   z	.commentsr   r   z.filesr   r   z.jwt_settingsr   r   r   z.organizationsr   z.predictionsr   z.project_templatesr   r   r   z.session_policyr   z.ssor   r   z.tokensz	.versionsz.workspaces)r   r   r   r   r   _dynamic_imports	attr_namereturnc           	      6   t         j                  |       }|t        d|  dt               	 t	        |t
              }|d|  k(  r|S t        ||       S # t        $ r}t        d|  d| d|       |d }~wt        $ r}t        d|  d| d|       |d }~ww xY w)NzNo z. found in _dynamic_imports for module name -> .zFailed to import z from z: zFailed to get )r<  getAttributeError__name__r   __package__getattrImportError)r=  module_namemodulees       C/root/env/lib/python3.12/site-packages/label_studio_sdk/__init__.py__getattr__rK    s    "&&y1Ks9+-[\d[efgg	Z{K8Ai[/)M69-- Z-i[{m2aSQRXYY Z~i[{m2aSQRXYYZs)   A A 	BA22B>BBc                  R    t        t        j                               } t        |       S )N)listr<  keyssorted)
lazy_attrss    rJ  __dir__rQ    s!    &++-.J*    (7  r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r  r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r   r%   r&   r'   r  r(   r)   r*   r+   r   r   r   r   r   r   r   r   r  r  r  r	  r  r  r  r  r  r   r!  r"  r#  r,   r-   r.   r/   r0   r1   r  r
  r  r2   r3   r4   r5   r6   r7   r   r8   r9   r:   r;   r<   r=   r  r>   r?   r  r  r@   r,  r-  r.  r/  r0  r1  r2  r3  r4  r5  r6  r7  r8  r9  r:  r;  r   rA   r  r  rB   r  r  r  r  r  r  r  r  r  rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   r   rk   rl   rm   rn   ro   rp   rq   rr   rs   rt   r   ru   rv   rw   rx   ry   rz   r{   r|   r}   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r$  r%  r&  r'  r(  r)  r*  r+  r   r   r   r   r   r   r   r   r   r   r   r  r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   (J  typing	importlibr   TYPE_CHECKINGtypesr   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   rt   ru   rv   rw   rx   ry   rz   r{   r|   r}   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   errorsr   r   r   r   r   r    r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   _legacyr   r   r   r   r   r   r   r   r   r  r  r  r  r  r  r  r  r	  r
  clientr  r  environmentr  r  r  r  r  r  r  r  r  r  r  r  r  r  versionr  r  r  r  r  r   r!  r"  r#  r$  r%  r&  r'  r(  r)  r*  r+  r,  r-  r.  r/  r0  r1  r2  r3  r4  r5  r6  r7  r8  r9  r:  r;  r<  Dictstr__annotations__AnyrK  rQ  __all__ rR  rJ  <module>rc     sc  
  #	S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S Sh        :          =C]]5533BBeeOssD-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