glean-api-client 0.11.18__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.
- glean/api_client/__init__.py +17 -0
- glean/api_client/_hooks/__init__.py +5 -0
- glean/api_client/_hooks/multipart_fix_hook.py +92 -0
- glean/api_client/_hooks/registration.py +17 -0
- glean/api_client/_hooks/sdkhooks.py +76 -0
- glean/api_client/_hooks/types.py +113 -0
- glean/api_client/_version.py +15 -0
- glean/api_client/agents.py +923 -0
- glean/api_client/announcements.py +714 -0
- glean/api_client/answers.py +1039 -0
- glean/api_client/basesdk.py +364 -0
- glean/api_client/client.py +82 -0
- glean/api_client/client_activity.py +360 -0
- glean/api_client/client_authentication.py +173 -0
- glean/api_client/client_chat.py +2023 -0
- glean/api_client/client_documents.py +762 -0
- glean/api_client/client_shortcuts.py +1001 -0
- glean/api_client/client_verification.py +545 -0
- glean/api_client/collections.py +1715 -0
- glean/api_client/data.py +23 -0
- glean/api_client/datasources.py +561 -0
- glean/api_client/entities.py +455 -0
- glean/api_client/errors/__init__.py +73 -0
- glean/api_client/errors/collectionerror.py +33 -0
- glean/api_client/errors/gleanbaseerror.py +30 -0
- glean/api_client/errors/gleandataerror.py +52 -0
- glean/api_client/errors/gleanerror.py +40 -0
- glean/api_client/errors/no_response_error.py +17 -0
- glean/api_client/errors/responsevalidationerror.py +27 -0
- glean/api_client/governance.py +25 -0
- glean/api_client/governance_documents.py +22 -0
- glean/api_client/httpclient.py +125 -0
- glean/api_client/indexing.py +50 -0
- glean/api_client/indexing_authentication.py +163 -0
- glean/api_client/indexing_datasource.py +187 -0
- glean/api_client/indexing_documents.py +1988 -0
- glean/api_client/indexing_permissions.py +2394 -0
- glean/api_client/indexing_shortcuts.py +418 -0
- glean/api_client/insights.py +303 -0
- glean/api_client/messages.py +225 -0
- glean/api_client/models/__init__.py +3311 -0
- glean/api_client/models/activity.py +15 -0
- glean/api_client/models/activityevent.py +56 -0
- glean/api_client/models/activityeventparams.py +61 -0
- glean/api_client/models/addcollectionitemserror.py +22 -0
- glean/api_client/models/addcollectionitemsrequest.py +31 -0
- glean/api_client/models/addcollectionitemsresponse.py +22 -0
- glean/api_client/models/additionalfielddefinition.py +65 -0
- glean/api_client/models/agent.py +98 -0
- glean/api_client/models/agentconfig.py +64 -0
- glean/api_client/models/agentexecutionstatus.py +11 -0
- glean/api_client/models/agentrun.py +42 -0
- glean/api_client/models/agentruncreate.py +36 -0
- glean/api_client/models/agentrunwaitresponse.py +21 -0
- glean/api_client/models/agentschemas.py +45 -0
- glean/api_client/models/agentsinsightsv2request.py +26 -0
- glean/api_client/models/agentsinsightsv2response.py +88 -0
- glean/api_client/models/agentsusagebydepartmentinsight.py +44 -0
- glean/api_client/models/agentusersinsight.py +49 -0
- glean/api_client/models/aiappactioncounts.py +70 -0
- glean/api_client/models/aiappsinsightsresponse.py +45 -0
- glean/api_client/models/aiinsightsresponse.py +91 -0
- glean/api_client/models/allowlistoptions.py +20 -0
- glean/api_client/models/announcement.py +171 -0
- glean/api_client/models/anonymousevent.py +35 -0
- glean/api_client/models/answer.py +161 -0
- glean/api_client/models/answerboard.py +87 -0
- glean/api_client/models/answercreationdata.py +100 -0
- glean/api_client/models/answerlike.py +26 -0
- glean/api_client/models/answerlikes.py +28 -0
- glean/api_client/models/answerresult.py +23 -0
- glean/api_client/models/appresult.py +32 -0
- glean/api_client/models/assistantinsightsresponse.py +94 -0
- glean/api_client/models/authconfig.py +116 -0
- glean/api_client/models/authtoken.py +34 -0
- glean/api_client/models/autocompleterequest.py +83 -0
- glean/api_client/models/autocompleteresponse.py +58 -0
- glean/api_client/models/autocompleteresult.py +88 -0
- glean/api_client/models/autocompleteresultgroup.py +31 -0
- glean/api_client/models/badge.py +39 -0
- glean/api_client/models/bulkindexdocumentsrequest.py +56 -0
- glean/api_client/models/bulkindexemployeesrequest.py +54 -0
- glean/api_client/models/bulkindexgroupsrequest.py +59 -0
- glean/api_client/models/bulkindexmembershipsrequest.py +57 -0
- glean/api_client/models/bulkindexshortcutsrequest.py +44 -0
- glean/api_client/models/bulkindexteamsrequest.py +44 -0
- glean/api_client/models/bulkindexusersrequest.py +59 -0
- glean/api_client/models/bulkuploadhistoryevent.py +62 -0
- glean/api_client/models/calendarattendee.py +48 -0
- glean/api_client/models/calendarattendees.py +52 -0
- glean/api_client/models/calendarevent.py +95 -0
- glean/api_client/models/canonicalizingregextype.py +26 -0
- glean/api_client/models/channelinviteinfo.py +48 -0
- glean/api_client/models/chat.py +76 -0
- glean/api_client/models/chatfile.py +36 -0
- glean/api_client/models/chatfilefailurereason.py +16 -0
- glean/api_client/models/chatfilemetadata.py +47 -0
- glean/api_client/models/chatfilestatus.py +13 -0
- glean/api_client/models/chatmessage.py +110 -0
- glean/api_client/models/chatmessagecitation.py +51 -0
- glean/api_client/models/chatmessagefragment.py +56 -0
- glean/api_client/models/chatmetadata.py +62 -0
- glean/api_client/models/chatmetadataresult.py +25 -0
- glean/api_client/models/chatop.py +31 -0
- glean/api_client/models/chatrequest.py +80 -0
- glean/api_client/models/chatresponse.py +46 -0
- glean/api_client/models/chatrestrictionfilters.py +30 -0
- glean/api_client/models/chatresult.py +25 -0
- glean/api_client/models/chatstreamop.py +31 -0
- glean/api_client/models/chatsuggestion.py +21 -0
- glean/api_client/models/chatzerostatesuggestionoptions.py +19 -0
- glean/api_client/models/checkdocumentaccessrequest.py +35 -0
- glean/api_client/models/checkdocumentaccessresponse.py +21 -0
- glean/api_client/models/clustergroup.py +35 -0
- glean/api_client/models/clustertypeenum.py +20 -0
- glean/api_client/models/code.py +32 -0
- glean/api_client/models/codeline.py +26 -0
- glean/api_client/models/collection.py +143 -0
- glean/api_client/models/collectionerror.py +25 -0
- glean/api_client/models/collectionitem.py +82 -0
- glean/api_client/models/collectionitemdescriptor.py +56 -0
- glean/api_client/models/collectionpinmetadata.py +19 -0
- glean/api_client/models/collectionpinnablecategories.py +12 -0
- glean/api_client/models/collectionpinnabletargets.py +11 -0
- glean/api_client/models/collectionpinnedmetadata.py +28 -0
- glean/api_client/models/collectionpintarget.py +28 -0
- glean/api_client/models/commentdefinition.py +53 -0
- glean/api_client/models/communicationchannel.py +9 -0
- glean/api_client/models/company.py +84 -0
- glean/api_client/models/conferencedata.py +34 -0
- glean/api_client/models/connectortype.py +17 -0
- glean/api_client/models/contentdefinition.py +31 -0
- glean/api_client/models/contentinsightsresponse.py +46 -0
- glean/api_client/models/contenttype.py +8 -0
- glean/api_client/models/countinfo.py +25 -0
- glean/api_client/models/createannouncementrequest.py +105 -0
- glean/api_client/models/createanswerrequest.py +14 -0
- glean/api_client/models/createauthtokenresponse.py +21 -0
- glean/api_client/models/createcollectionop.py +43 -0
- glean/api_client/models/createcollectionrequest.py +78 -0
- glean/api_client/models/createdlpreportrequest.py +36 -0
- glean/api_client/models/createdlpreportresponse.py +17 -0
- glean/api_client/models/createshortcutrequest.py +17 -0
- glean/api_client/models/createshortcutresponse.py +19 -0
- glean/api_client/models/currentactiveusers.py +26 -0
- glean/api_client/models/customdatasourceconfig.py +238 -0
- glean/api_client/models/customdatavalue.py +33 -0
- glean/api_client/models/customentity.py +51 -0
- glean/api_client/models/customentitymetadata.py +20 -0
- glean/api_client/models/customer.py +70 -0
- glean/api_client/models/customermetadata.py +25 -0
- glean/api_client/models/customfielddata.py +27 -0
- glean/api_client/models/customfieldvalue.py +32 -0
- glean/api_client/models/customfieldvaluehyperlink.py +22 -0
- glean/api_client/models/customfieldvalueperson.py +17 -0
- glean/api_client/models/customfieldvaluestr.py +17 -0
- glean/api_client/models/customproperty.py +23 -0
- glean/api_client/models/datasourcebulkmembershipdefinition.py +30 -0
- glean/api_client/models/datasourcegroupdefinition.py +19 -0
- glean/api_client/models/datasourcemembershipdefinition.py +35 -0
- glean/api_client/models/datasourceobjecttypedocumentcountentry.py +22 -0
- glean/api_client/models/datasourceprofile.py +41 -0
- glean/api_client/models/datasourceuserdefinition.py +32 -0
- glean/api_client/models/debugdatasourcestatusidentityresponsecomponent.py +37 -0
- glean/api_client/models/debugdatasourcestatusresponse.py +119 -0
- glean/api_client/models/debugdocumentrequest.py +25 -0
- glean/api_client/models/debugdocumentresponse.py +37 -0
- glean/api_client/models/debugdocumentsrequest.py +24 -0
- glean/api_client/models/debugdocumentsresponse.py +28 -0
- glean/api_client/models/debugdocumentsresponseitem.py +34 -0
- glean/api_client/models/debuguserrequest.py +19 -0
- glean/api_client/models/debuguserresponse.py +34 -0
- glean/api_client/models/deleteallchatsop.py +22 -0
- glean/api_client/models/deleteannouncementrequest.py +15 -0
- glean/api_client/models/deleteanswerrequest.py +22 -0
- glean/api_client/models/deletechatfilesop.py +32 -0
- glean/api_client/models/deletechatfilesrequest.py +17 -0
- glean/api_client/models/deletechatsop.py +29 -0
- glean/api_client/models/deletechatsrequest.py +16 -0
- glean/api_client/models/deletecollectionitemrequest.py +27 -0
- glean/api_client/models/deletecollectionitemresponse.py +15 -0
- glean/api_client/models/deletecollectionrequest.py +24 -0
- glean/api_client/models/deletedocumentrequest.py +36 -0
- glean/api_client/models/deleteemployeerequest.py +26 -0
- glean/api_client/models/deletegrouprequest.py +31 -0
- glean/api_client/models/deletemembershiprequest.py +34 -0
- glean/api_client/models/deleteshortcutrequest.py +15 -0
- glean/api_client/models/deleteteamrequest.py +19 -0
- glean/api_client/models/deleteuserrequest.py +30 -0
- glean/api_client/models/digest.py +37 -0
- glean/api_client/models/digestsection.py +60 -0
- glean/api_client/models/digestupdate.py +42 -0
- glean/api_client/models/disambiguation.py +31 -0
- glean/api_client/models/displayablelistitemuiconfig.py +23 -0
- glean/api_client/models/dlpconfig.py +113 -0
- glean/api_client/models/dlpfrequency.py +14 -0
- glean/api_client/models/dlpperson.py +30 -0
- glean/api_client/models/dlppersonmetadata.py +22 -0
- glean/api_client/models/dlpreport.py +92 -0
- glean/api_client/models/dlpreportstatus.py +13 -0
- glean/api_client/models/dlpsimpleresult.py +9 -0
- glean/api_client/models/document.py +71 -0
- glean/api_client/models/documentcontent.py +19 -0
- glean/api_client/models/documentdefinition.py +160 -0
- glean/api_client/models/documentinsight.py +25 -0
- glean/api_client/models/documentinteractions.py +50 -0
- glean/api_client/models/documentinteractionsdefinition.py +25 -0
- glean/api_client/models/documentmetadata.py +228 -0
- glean/api_client/models/documentorerror_union.py +27 -0
- glean/api_client/models/documentpermissionsdefinition.py +62 -0
- glean/api_client/models/documentsection.py +21 -0
- glean/api_client/models/documentspec_union.py +105 -0
- glean/api_client/models/documentstatusresponse.py +49 -0
- glean/api_client/models/documentvisibility.py +21 -0
- glean/api_client/models/documentvisibilityoverride.py +30 -0
- glean/api_client/models/documentvisibilityupdateresult.py +35 -0
- glean/api_client/models/downloadpolicycsvop.py +18 -0
- glean/api_client/models/downloadreportcsvop.py +18 -0
- glean/api_client/models/editanswerrequest.py +117 -0
- glean/api_client/models/editcollectionitemrequest.py +37 -0
- glean/api_client/models/editcollectionitemresponse.py +15 -0
- glean/api_client/models/editcollectionrequest.py +76 -0
- glean/api_client/models/editcollectionresponse.py +162 -0
- glean/api_client/models/editpinrequest.py +30 -0
- glean/api_client/models/employeeinfodefinition.py +198 -0
- glean/api_client/models/employeeteaminfo.py +30 -0
- glean/api_client/models/entitiessortorder.py +16 -0
- glean/api_client/models/entityrelationship.py +24 -0
- glean/api_client/models/entitytype.py +12 -0
- glean/api_client/models/errormessage.py +20 -0
- glean/api_client/models/eventclassification.py +25 -0
- glean/api_client/models/eventclassificationname.py +10 -0
- glean/api_client/models/eventstrategyname.py +18 -0
- glean/api_client/models/externalsharingoptions.py +82 -0
- glean/api_client/models/externalshortcut.py +69 -0
- glean/api_client/models/extractedqna.py +30 -0
- glean/api_client/models/facetbucket.py +30 -0
- glean/api_client/models/facetbucketfilter.py +21 -0
- glean/api_client/models/facetfilter.py +26 -0
- glean/api_client/models/facetfilterset.py +19 -0
- glean/api_client/models/facetfiltervalue.py +45 -0
- glean/api_client/models/facetresult.py +40 -0
- glean/api_client/models/facetvalue.py +33 -0
- glean/api_client/models/favoriteinfo.py +33 -0
- glean/api_client/models/feedback.py +220 -0
- glean/api_client/models/feedbackchatexchange.py +53 -0
- glean/api_client/models/feedbackop.py +29 -0
- glean/api_client/models/feedentry.py +185 -0
- glean/api_client/models/feedrequest.py +65 -0
- glean/api_client/models/feedrequestoptions.py +59 -0
- glean/api_client/models/feedresponse.py +50 -0
- glean/api_client/models/feedresult.py +64 -0
- glean/api_client/models/followupaction.py +57 -0
- glean/api_client/models/generatedattachment.py +51 -0
- glean/api_client/models/generatedattachmentcontent.py +28 -0
- glean/api_client/models/generatedqna.py +76 -0
- glean/api_client/models/get_rest_api_v1_tools_listop.py +22 -0
- glean/api_client/models/getagentop.py +29 -0
- glean/api_client/models/getagentschemasop.py +29 -0
- glean/api_client/models/getanswererror.py +29 -0
- glean/api_client/models/getanswerrequest.py +22 -0
- glean/api_client/models/getanswerresponse.py +22 -0
- glean/api_client/models/getchatapplicationop.py +32 -0
- glean/api_client/models/getchatapplicationrequest.py +15 -0
- glean/api_client/models/getchatapplicationresponse.py +14 -0
- glean/api_client/models/getchatfilesop.py +29 -0
- glean/api_client/models/getchatfilesrequest.py +17 -0
- glean/api_client/models/getchatfilesresponse.py +17 -0
- glean/api_client/models/getchatop.py +29 -0
- glean/api_client/models/getchatrequest.py +15 -0
- glean/api_client/models/getchatresponse.py +18 -0
- glean/api_client/models/getcollectionrequest.py +36 -0
- glean/api_client/models/getcollectionresponse.py +32 -0
- glean/api_client/models/getdatasourceconfigrequest.py +19 -0
- glean/api_client/models/getdlpreportresponse.py +17 -0
- glean/api_client/models/getdocpermissionsrequest.py +17 -0
- glean/api_client/models/getdocpermissionsresponse.py +19 -0
- glean/api_client/models/getdocumentcountrequest.py +19 -0
- glean/api_client/models/getdocumentcountresponse.py +23 -0
- glean/api_client/models/getdocumentsbyfacetsrequest.py +30 -0
- glean/api_client/models/getdocumentsbyfacetsresponse.py +30 -0
- glean/api_client/models/getdocumentsrequest.py +36 -0
- glean/api_client/models/getdocumentsresponse.py +17 -0
- glean/api_client/models/getdocumentstatusrequest.py +30 -0
- glean/api_client/models/getdocumentstatusresponse.py +42 -0
- glean/api_client/models/getdocumentvisibilityoverridesresponse.py +22 -0
- glean/api_client/models/getdocvisibilityop.py +22 -0
- glean/api_client/models/getpinrequest.py +16 -0
- glean/api_client/models/getpinresponse.py +15 -0
- glean/api_client/models/getpolicyop.py +27 -0
- glean/api_client/models/getreportstatusop.py +18 -0
- glean/api_client/models/getshortcutrequest_union.py +31 -0
- glean/api_client/models/getshortcutresponse.py +19 -0
- glean/api_client/models/getusercountrequest.py +19 -0
- glean/api_client/models/getusercountresponse.py +21 -0
- glean/api_client/models/gleanassistinsightsresponse.py +46 -0
- glean/api_client/models/gleandataerror.py +44 -0
- glean/api_client/models/grantpermission.py +22 -0
- glean/api_client/models/greenlistusersrequest.py +25 -0
- glean/api_client/models/group.py +42 -0
- glean/api_client/models/grouptype.py +17 -0
- glean/api_client/models/hotword.py +18 -0
- glean/api_client/models/hotwordproximity.py +18 -0
- glean/api_client/models/iconconfig.py +67 -0
- glean/api_client/models/indexdocumentrequest.py +26 -0
- glean/api_client/models/indexdocumentsrequest.py +32 -0
- glean/api_client/models/indexemployeerequest.py +29 -0
- glean/api_client/models/indexgrouprequest.py +34 -0
- glean/api_client/models/indexingshortcut.py +57 -0
- glean/api_client/models/indexmembershiprequest.py +34 -0
- glean/api_client/models/indexstatus.py +27 -0
- glean/api_client/models/indexteamrequest.py +26 -0
- glean/api_client/models/indexuserrequest.py +34 -0
- glean/api_client/models/inputoptions.py +82 -0
- glean/api_client/models/insightsagentsrequestoptions.py +17 -0
- glean/api_client/models/insightsaiapprequestoptions.py +17 -0
- glean/api_client/models/insightsassistantrequest.py +21 -0
- glean/api_client/models/insightschatsummary.py +38 -0
- glean/api_client/models/insightsoverviewrequest.py +21 -0
- glean/api_client/models/insightsoverviewresponse.py +118 -0
- glean/api_client/models/insightsrequest.py +126 -0
- glean/api_client/models/insightsresponse.py +118 -0
- glean/api_client/models/insightssearchsummary.py +38 -0
- glean/api_client/models/invalidoperatorvalueerror.py +21 -0
- glean/api_client/models/inviteinfo.py +58 -0
- glean/api_client/models/labeledcountinfo.py +25 -0
- glean/api_client/models/listanswersrequest.py +17 -0
- glean/api_client/models/listanswersresponse.py +18 -0
- glean/api_client/models/listchatsop.py +22 -0
- glean/api_client/models/listchatsresponse.py +18 -0
- glean/api_client/models/listcollectionsrequest.py +37 -0
- glean/api_client/models/listcollectionsresponse.py +17 -0
- glean/api_client/models/listdlpreportsresponse.py +15 -0
- glean/api_client/models/listentitiesrequest.py +97 -0
- glean/api_client/models/listentitiesresponse.py +66 -0
- glean/api_client/models/listpinsop.py +13 -0
- glean/api_client/models/listpinsresponse.py +17 -0
- glean/api_client/models/listpoliciesop.py +30 -0
- glean/api_client/models/listshortcutspaginatedrequest.py +49 -0
- glean/api_client/models/listshortcutspaginatedresponse.py +31 -0
- glean/api_client/models/listverificationsop.py +20 -0
- glean/api_client/models/manualfeedbackinfo.py +166 -0
- glean/api_client/models/manualfeedbacksidebysideinfo.py +77 -0
- glean/api_client/models/meeting.py +37 -0
- glean/api_client/models/message.py +33 -0
- glean/api_client/models/messagesrequest.py +84 -0
- glean/api_client/models/messagesresponse.py +29 -0
- glean/api_client/models/objectdefinition.py +76 -0
- glean/api_client/models/objectpermissions.py +17 -0
- glean/api_client/models/operatormetadata.py +50 -0
- glean/api_client/models/operatorscope.py +18 -0
- glean/api_client/models/peoplerequest.py +69 -0
- glean/api_client/models/peopleresponse.py +31 -0
- glean/api_client/models/peragentinsight.py +55 -0
- glean/api_client/models/period.py +41 -0
- glean/api_client/models/permissions.py +67 -0
- glean/api_client/models/permissionsgroupintersectiondefinition.py +21 -0
- glean/api_client/models/person.py +36 -0
- glean/api_client/models/persondistance.py +26 -0
- glean/api_client/models/personmetadata.py +295 -0
- glean/api_client/models/personobject.py +21 -0
- glean/api_client/models/personteam.py +53 -0
- glean/api_client/models/persontoteamrelationship.py +53 -0
- glean/api_client/models/peruserassistantinsight.py +51 -0
- glean/api_client/models/peruserinsight.py +47 -0
- glean/api_client/models/pindocument.py +55 -0
- glean/api_client/models/pinrequest.py +30 -0
- glean/api_client/models/possiblevalue.py +25 -0
- glean/api_client/models/post_api_index_v1_debug_datasource_documentop.py +25 -0
- glean/api_client/models/post_api_index_v1_debug_datasource_documentsop.py +25 -0
- glean/api_client/models/post_api_index_v1_debug_datasource_statusop.py +18 -0
- glean/api_client/models/post_api_index_v1_debug_datasource_userop.py +25 -0
- glean/api_client/models/processalldocumentsrequest.py +20 -0
- glean/api_client/models/processallmembershipsrequest.py +20 -0
- glean/api_client/models/processinghistoryevent.py +26 -0
- glean/api_client/models/prompttemplate.py +88 -0
- glean/api_client/models/prompttemplateresult.py +35 -0
- glean/api_client/models/propertydefinition.py +82 -0
- glean/api_client/models/propertygroup.py +26 -0
- glean/api_client/models/queryinsight.py +45 -0
- glean/api_client/models/queryinsightsresponse.py +46 -0
- glean/api_client/models/querysuggestion.py +61 -0
- glean/api_client/models/querysuggestionlist.py +21 -0
- glean/api_client/models/quicklink.py +58 -0
- glean/api_client/models/reaction.py +33 -0
- glean/api_client/models/readpermission.py +22 -0
- glean/api_client/models/recommendationsrequest.py +64 -0
- glean/api_client/models/recommendationsrequestoptions.py +47 -0
- glean/api_client/models/referencerange.py +26 -0
- glean/api_client/models/relateddocuments.py +72 -0
- glean/api_client/models/relatedobject.py +35 -0
- glean/api_client/models/relatedobjectedge.py +15 -0
- glean/api_client/models/relatedquestion.py +29 -0
- glean/api_client/models/reminder.py +36 -0
- glean/api_client/models/reminderrequest.py +34 -0
- glean/api_client/models/reportstatusresponse.py +30 -0
- glean/api_client/models/restrictionfilters.py +20 -0
- glean/api_client/models/resultsdescription.py +25 -0
- glean/api_client/models/resultsresponse.py +59 -0
- glean/api_client/models/resulttab.py +34 -0
- glean/api_client/models/rotatetokenresponse.py +33 -0
- glean/api_client/models/scopetype.py +11 -0
- glean/api_client/models/searchagentsrequest.py +16 -0
- glean/api_client/models/searchagentsresponse.py +15 -0
- glean/api_client/models/searchproviderinfo.py +29 -0
- glean/api_client/models/searchrequest.py +95 -0
- glean/api_client/models/searchrequestinputdetails.py +19 -0
- glean/api_client/models/searchrequestoptions.py +140 -0
- glean/api_client/models/searchresponse.py +120 -0
- glean/api_client/models/searchresponsemetadata.py +102 -0
- glean/api_client/models/searchresult.py +149 -0
- glean/api_client/models/searchresultprominenceenum.py +15 -0
- glean/api_client/models/searchresultsnippet.py +52 -0
- glean/api_client/models/searchwarning.py +51 -0
- glean/api_client/models/sectiontype.py +15 -0
- glean/api_client/models/security.py +25 -0
- glean/api_client/models/seenfeedbackinfo.py +17 -0
- glean/api_client/models/sensitivecontentoptions.py +39 -0
- glean/api_client/models/sensitiveexpression.py +22 -0
- glean/api_client/models/sensitiveinfotype.py +35 -0
- glean/api_client/models/sessioninfo.py +35 -0
- glean/api_client/models/share.py +33 -0
- glean/api_client/models/sharingoptions.py +71 -0
- glean/api_client/models/shortcut.py +140 -0
- glean/api_client/models/shortcuterror.py +25 -0
- glean/api_client/models/shortcutinsight.py +27 -0
- glean/api_client/models/shortcutinsightsresponse.py +39 -0
- glean/api_client/models/shortcutmutableproperties.py +61 -0
- glean/api_client/models/shortcutspaginationmetadata.py +25 -0
- glean/api_client/models/sidebysideimplementation.py +69 -0
- glean/api_client/models/socialnetwork.py +27 -0
- glean/api_client/models/socialnetworkdefinition.py +31 -0
- glean/api_client/models/sortoptions.py +24 -0
- glean/api_client/models/structuredlink.py +34 -0
- glean/api_client/models/structuredlocation.py +61 -0
- glean/api_client/models/structuredresult.py +156 -0
- glean/api_client/models/structuredtext.py +25 -0
- glean/api_client/models/structuredtextitem.py +32 -0
- glean/api_client/models/structuredtextmutableproperties.py +13 -0
- glean/api_client/models/summarizerequest.py +49 -0
- glean/api_client/models/summarizeresponse.py +34 -0
- glean/api_client/models/summary.py +22 -0
- glean/api_client/models/team.py +146 -0
- glean/api_client/models/teamemail.py +25 -0
- glean/api_client/models/teaminfodefinition.py +87 -0
- glean/api_client/models/teammember.py +31 -0
- glean/api_client/models/textrange.py +48 -0
- glean/api_client/models/thumbnail.py +22 -0
- glean/api_client/models/timeinterval.py +20 -0
- glean/api_client/models/timepoint.py +22 -0
- glean/api_client/models/timerange.py +30 -0
- glean/api_client/models/tool.py +46 -0
- glean/api_client/models/toolinfo.py +23 -0
- glean/api_client/models/toolmetadata.py +171 -0
- glean/api_client/models/toolparameter.py +58 -0
- glean/api_client/models/toolscallparameter.py +31 -0
- glean/api_client/models/toolscallrequest.py +22 -0
- glean/api_client/models/toolscallresponse.py +24 -0
- glean/api_client/models/toolsets.py +30 -0
- glean/api_client/models/toolslistresponse.py +15 -0
- glean/api_client/models/ugctype.py +13 -0
- glean/api_client/models/unpin.py +16 -0
- glean/api_client/models/updateannouncementrequest.py +110 -0
- glean/api_client/models/updatedlpconfigrequest.py +22 -0
- glean/api_client/models/updatedlpconfigresponse.py +21 -0
- glean/api_client/models/updatedlpreportrequest.py +42 -0
- glean/api_client/models/updatedlpreportresponse.py +15 -0
- glean/api_client/models/updatedocumentvisibilityoverridesrequest.py +22 -0
- glean/api_client/models/updatedocumentvisibilityoverridesresponse.py +20 -0
- glean/api_client/models/updatepermissionsrequest.py +47 -0
- glean/api_client/models/updatepolicyop.py +28 -0
- glean/api_client/models/updateshortcutrequest.py +66 -0
- glean/api_client/models/updateshortcutresponse.py +19 -0
- glean/api_client/models/updatetype.py +13 -0
- glean/api_client/models/uploadchatfilesop.py +32 -0
- glean/api_client/models/uploadchatfilesrequest.py +45 -0
- glean/api_client/models/uploadchatfilesresponse.py +17 -0
- glean/api_client/models/uploadshortcutsrequest.py +44 -0
- glean/api_client/models/uploadstatusenum.py +12 -0
- glean/api_client/models/user.py +22 -0
- glean/api_client/models/useractivity.py +52 -0
- glean/api_client/models/useractivityinsight.py +47 -0
- glean/api_client/models/usergeneratedcontentid.py +16 -0
- glean/api_client/models/userinsightsresponse.py +53 -0
- glean/api_client/models/userreferencedefinition.py +29 -0
- glean/api_client/models/userrole.py +14 -0
- glean/api_client/models/userrolespecification.py +34 -0
- glean/api_client/models/userstatusresponse.py +38 -0
- glean/api_client/models/userviewinfo.py +27 -0
- glean/api_client/models/verification.py +34 -0
- glean/api_client/models/verificationfeed.py +17 -0
- glean/api_client/models/verificationmetadata.py +62 -0
- glean/api_client/models/verifyrequest.py +31 -0
- glean/api_client/models/viewerinfo.py +40 -0
- glean/api_client/models/workflow.py +49 -0
- glean/api_client/models/workflowfeedbackinfo.py +25 -0
- glean/api_client/models/workflowresult.py +14 -0
- glean/api_client/models/writeactionparameter.py +55 -0
- glean/api_client/models/writepermission.py +37 -0
- glean/api_client/people.py +1668 -0
- glean/api_client/pins.py +911 -0
- glean/api_client/policies.py +925 -0
- glean/api_client/py.typed +1 -0
- glean/api_client/reports.py +521 -0
- glean/api_client/sdk.py +209 -0
- glean/api_client/sdkconfiguration.py +49 -0
- glean/api_client/search.py +1286 -0
- glean/api_client/tools.py +365 -0
- glean/api_client/types/__init__.py +21 -0
- glean/api_client/types/basemodel.py +39 -0
- glean/api_client/utils/__init__.py +200 -0
- glean/api_client/utils/annotations.py +79 -0
- glean/api_client/utils/datetimes.py +23 -0
- glean/api_client/utils/enums.py +74 -0
- glean/api_client/utils/eventstreaming.py +248 -0
- glean/api_client/utils/forms.py +223 -0
- glean/api_client/utils/headers.py +136 -0
- glean/api_client/utils/logger.py +27 -0
- glean/api_client/utils/metadata.py +118 -0
- glean/api_client/utils/queryparams.py +205 -0
- glean/api_client/utils/requestbodies.py +66 -0
- glean/api_client/utils/retries.py +217 -0
- glean/api_client/utils/security.py +192 -0
- glean/api_client/utils/serializers.py +249 -0
- glean/api_client/utils/unmarshal_json_response.py +24 -0
- glean/api_client/utils/url.py +155 -0
- glean/api_client/utils/values.py +137 -0
- glean/api_client/visibilityoverrides.py +379 -0
- glean_api_client-0.11.18.dist-info/METADATA +991 -0
- glean_api_client-0.11.18.dist-info/RECORD +532 -0
- glean_api_client-0.11.18.dist-info/WHEEL +4 -0
- glean_api_client-0.11.18.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from ._version import (
|
|
4
|
+
__title__,
|
|
5
|
+
__version__,
|
|
6
|
+
__openapi_doc_version__,
|
|
7
|
+
__gen_version__,
|
|
8
|
+
__user_agent__,
|
|
9
|
+
)
|
|
10
|
+
from .sdk import *
|
|
11
|
+
from .sdkconfiguration import *
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
VERSION: str = __version__
|
|
15
|
+
OPENAPI_DOC_VERSION = __openapi_doc_version__
|
|
16
|
+
SPEAKEASY_GENERATOR_VERSION = __gen_version__
|
|
17
|
+
USER_AGENT = __user_agent__
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"""Hook to fix multipart form file field names that incorrectly have '[]' suffix."""
|
|
2
|
+
|
|
3
|
+
from typing import Any, Dict, List, Tuple
|
|
4
|
+
from .types import SDKInitHook
|
|
5
|
+
from glean.api_client.httpclient import HttpClient
|
|
6
|
+
from glean.api_client.utils import forms
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class MultipartFileFieldFixHook(SDKInitHook):
|
|
10
|
+
"""
|
|
11
|
+
Fixes multipart form serialization where file field names incorrectly have '[]' suffix.
|
|
12
|
+
|
|
13
|
+
Speakeasy sometimes generates code that adds '[]' to file field names in multipart forms,
|
|
14
|
+
but this is incorrect. File fields should not have the array suffix, only regular form
|
|
15
|
+
fields should use this convention.
|
|
16
|
+
|
|
17
|
+
This hook patches the serialize_multipart_form function to fix the issue at the source.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
def sdk_init(self, base_url: str, client: HttpClient) -> Tuple[str, HttpClient]:
|
|
21
|
+
"""Initialize the SDK and patch the multipart form serialization."""
|
|
22
|
+
self._patch_multipart_serialization()
|
|
23
|
+
return base_url, client
|
|
24
|
+
|
|
25
|
+
def _patch_multipart_serialization(self):
|
|
26
|
+
"""Patch the serialize_multipart_form function to fix file field names."""
|
|
27
|
+
# Store reference to original function
|
|
28
|
+
original_serialize_multipart_form = forms.serialize_multipart_form
|
|
29
|
+
|
|
30
|
+
def fixed_serialize_multipart_form(
|
|
31
|
+
media_type: str, request: Any
|
|
32
|
+
) -> Tuple[str, Dict[str, Any], List[Tuple[str, Any]]]:
|
|
33
|
+
"""Fixed version of serialize_multipart_form that doesn't add '[]' to file field names."""
|
|
34
|
+
# Call the original function
|
|
35
|
+
result_media_type, form_data, files_list = (
|
|
36
|
+
original_serialize_multipart_form(media_type, request)
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
# Fix file field names in the files list
|
|
40
|
+
fixed_files = []
|
|
41
|
+
for item in files_list:
|
|
42
|
+
if isinstance(item, tuple) and len(item) >= 2:
|
|
43
|
+
field_name = item[0]
|
|
44
|
+
file_data = item[1]
|
|
45
|
+
|
|
46
|
+
# Remove '[]' suffix from file field names only
|
|
47
|
+
# We can identify file fields by checking if the data looks like file content
|
|
48
|
+
if field_name.endswith("[]") and self._is_file_field_data(
|
|
49
|
+
file_data
|
|
50
|
+
):
|
|
51
|
+
fixed_field_name = field_name[:-2] # Remove '[]' suffix
|
|
52
|
+
fixed_item = (fixed_field_name,) + item[1:]
|
|
53
|
+
fixed_files.append(fixed_item)
|
|
54
|
+
else:
|
|
55
|
+
fixed_files.append(item)
|
|
56
|
+
else:
|
|
57
|
+
fixed_files.append(item)
|
|
58
|
+
|
|
59
|
+
return result_media_type, form_data, fixed_files
|
|
60
|
+
|
|
61
|
+
# Replace the original function with our fixed version
|
|
62
|
+
forms.serialize_multipart_form = fixed_serialize_multipart_form
|
|
63
|
+
|
|
64
|
+
def _is_file_field_data(self, file_data: Any) -> bool:
|
|
65
|
+
"""
|
|
66
|
+
Determine if the data represents file field content.
|
|
67
|
+
|
|
68
|
+
File fields typically have tuple format: (filename, content) or (filename, content, content_type)
|
|
69
|
+
where content is bytes, file-like object, or similar.
|
|
70
|
+
"""
|
|
71
|
+
if isinstance(file_data, tuple) and len(file_data) >= 2:
|
|
72
|
+
# Check the structure: (filename, content, [optional content_type])
|
|
73
|
+
filename = file_data[0]
|
|
74
|
+
content = file_data[1]
|
|
75
|
+
|
|
76
|
+
# If filename is empty, this is likely JSON content, not a file
|
|
77
|
+
if filename == "":
|
|
78
|
+
return False
|
|
79
|
+
|
|
80
|
+
# File content is typically bytes, string, or file-like object
|
|
81
|
+
# But exclude empty strings and None values
|
|
82
|
+
if content is None or content == "":
|
|
83
|
+
return False
|
|
84
|
+
|
|
85
|
+
return (
|
|
86
|
+
isinstance(content, (bytes, str))
|
|
87
|
+
or hasattr(content, "read") # File-like object
|
|
88
|
+
or (
|
|
89
|
+
hasattr(content, "__iter__") and not isinstance(content, str)
|
|
90
|
+
) # Iterable but not string
|
|
91
|
+
)
|
|
92
|
+
return False
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from .types import Hooks
|
|
2
|
+
from .multipart_fix_hook import MultipartFileFieldFixHook
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
# This file is only ever generated once on the first generation and then is free to be modified.
|
|
6
|
+
# Any hooks you wish to add should be registered in the init_hooks function. Feel free to define them
|
|
7
|
+
# in this file or in separate files in the hooks folder.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def init_hooks(hooks: Hooks):
|
|
11
|
+
# pylint: disable=unused-argument
|
|
12
|
+
"""Add hooks by calling hooks.register{sdk_init/before_request/after_success/after_error}Hook
|
|
13
|
+
with an instance of a hook that implements that specific Hook interface
|
|
14
|
+
Hooks are registered per SDK instance, and are valid for the lifetime of the SDK instance"""
|
|
15
|
+
|
|
16
|
+
# Register hook to fix multipart file field names that incorrectly have '[]' suffix
|
|
17
|
+
hooks.register_sdk_init_hook(MultipartFileFieldFixHook())
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
import httpx
|
|
4
|
+
from .types import (
|
|
5
|
+
SDKInitHook,
|
|
6
|
+
BeforeRequestContext,
|
|
7
|
+
BeforeRequestHook,
|
|
8
|
+
AfterSuccessContext,
|
|
9
|
+
AfterSuccessHook,
|
|
10
|
+
AfterErrorContext,
|
|
11
|
+
AfterErrorHook,
|
|
12
|
+
Hooks,
|
|
13
|
+
)
|
|
14
|
+
from .registration import init_hooks
|
|
15
|
+
from typing import List, Optional, Tuple
|
|
16
|
+
from glean.api_client.httpclient import HttpClient
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class SDKHooks(Hooks):
|
|
20
|
+
def __init__(self) -> None:
|
|
21
|
+
self.sdk_init_hooks: List[SDKInitHook] = []
|
|
22
|
+
self.before_request_hooks: List[BeforeRequestHook] = []
|
|
23
|
+
self.after_success_hooks: List[AfterSuccessHook] = []
|
|
24
|
+
self.after_error_hooks: List[AfterErrorHook] = []
|
|
25
|
+
init_hooks(self)
|
|
26
|
+
|
|
27
|
+
def register_sdk_init_hook(self, hook: SDKInitHook) -> None:
|
|
28
|
+
self.sdk_init_hooks.append(hook)
|
|
29
|
+
|
|
30
|
+
def register_before_request_hook(self, hook: BeforeRequestHook) -> None:
|
|
31
|
+
self.before_request_hooks.append(hook)
|
|
32
|
+
|
|
33
|
+
def register_after_success_hook(self, hook: AfterSuccessHook) -> None:
|
|
34
|
+
self.after_success_hooks.append(hook)
|
|
35
|
+
|
|
36
|
+
def register_after_error_hook(self, hook: AfterErrorHook) -> None:
|
|
37
|
+
self.after_error_hooks.append(hook)
|
|
38
|
+
|
|
39
|
+
def sdk_init(self, base_url: str, client: HttpClient) -> Tuple[str, HttpClient]:
|
|
40
|
+
for hook in self.sdk_init_hooks:
|
|
41
|
+
base_url, client = hook.sdk_init(base_url, client)
|
|
42
|
+
return base_url, client
|
|
43
|
+
|
|
44
|
+
def before_request(
|
|
45
|
+
self, hook_ctx: BeforeRequestContext, request: httpx.Request
|
|
46
|
+
) -> httpx.Request:
|
|
47
|
+
for hook in self.before_request_hooks:
|
|
48
|
+
out = hook.before_request(hook_ctx, request)
|
|
49
|
+
if isinstance(out, Exception):
|
|
50
|
+
raise out
|
|
51
|
+
request = out
|
|
52
|
+
|
|
53
|
+
return request
|
|
54
|
+
|
|
55
|
+
def after_success(
|
|
56
|
+
self, hook_ctx: AfterSuccessContext, response: httpx.Response
|
|
57
|
+
) -> httpx.Response:
|
|
58
|
+
for hook in self.after_success_hooks:
|
|
59
|
+
out = hook.after_success(hook_ctx, response)
|
|
60
|
+
if isinstance(out, Exception):
|
|
61
|
+
raise out
|
|
62
|
+
response = out
|
|
63
|
+
return response
|
|
64
|
+
|
|
65
|
+
def after_error(
|
|
66
|
+
self,
|
|
67
|
+
hook_ctx: AfterErrorContext,
|
|
68
|
+
response: Optional[httpx.Response],
|
|
69
|
+
error: Optional[Exception],
|
|
70
|
+
) -> Tuple[Optional[httpx.Response], Optional[Exception]]:
|
|
71
|
+
for hook in self.after_error_hooks:
|
|
72
|
+
result = hook.after_error(hook_ctx, response, error)
|
|
73
|
+
if isinstance(result, Exception):
|
|
74
|
+
raise result
|
|
75
|
+
response, error = result
|
|
76
|
+
return response, error
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from abc import ABC, abstractmethod
|
|
4
|
+
from glean.api_client.httpclient import HttpClient
|
|
5
|
+
from glean.api_client.sdkconfiguration import SDKConfiguration
|
|
6
|
+
import httpx
|
|
7
|
+
from typing import Any, Callable, List, Optional, Tuple, Union
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class HookContext:
|
|
11
|
+
config: SDKConfiguration
|
|
12
|
+
base_url: str
|
|
13
|
+
operation_id: str
|
|
14
|
+
oauth2_scopes: Optional[List[str]] = None
|
|
15
|
+
security_source: Optional[Union[Any, Callable[[], Any]]] = None
|
|
16
|
+
|
|
17
|
+
def __init__(
|
|
18
|
+
self,
|
|
19
|
+
config: SDKConfiguration,
|
|
20
|
+
base_url: str,
|
|
21
|
+
operation_id: str,
|
|
22
|
+
oauth2_scopes: Optional[List[str]],
|
|
23
|
+
security_source: Optional[Union[Any, Callable[[], Any]]],
|
|
24
|
+
):
|
|
25
|
+
self.config = config
|
|
26
|
+
self.base_url = base_url
|
|
27
|
+
self.operation_id = operation_id
|
|
28
|
+
self.oauth2_scopes = oauth2_scopes
|
|
29
|
+
self.security_source = security_source
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class BeforeRequestContext(HookContext):
|
|
33
|
+
def __init__(self, hook_ctx: HookContext):
|
|
34
|
+
super().__init__(
|
|
35
|
+
hook_ctx.config,
|
|
36
|
+
hook_ctx.base_url,
|
|
37
|
+
hook_ctx.operation_id,
|
|
38
|
+
hook_ctx.oauth2_scopes,
|
|
39
|
+
hook_ctx.security_source,
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
class AfterSuccessContext(HookContext):
|
|
44
|
+
def __init__(self, hook_ctx: HookContext):
|
|
45
|
+
super().__init__(
|
|
46
|
+
hook_ctx.config,
|
|
47
|
+
hook_ctx.base_url,
|
|
48
|
+
hook_ctx.operation_id,
|
|
49
|
+
hook_ctx.oauth2_scopes,
|
|
50
|
+
hook_ctx.security_source,
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
class AfterErrorContext(HookContext):
|
|
55
|
+
def __init__(self, hook_ctx: HookContext):
|
|
56
|
+
super().__init__(
|
|
57
|
+
hook_ctx.config,
|
|
58
|
+
hook_ctx.base_url,
|
|
59
|
+
hook_ctx.operation_id,
|
|
60
|
+
hook_ctx.oauth2_scopes,
|
|
61
|
+
hook_ctx.security_source,
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
class SDKInitHook(ABC):
|
|
66
|
+
@abstractmethod
|
|
67
|
+
def sdk_init(self, base_url: str, client: HttpClient) -> Tuple[str, HttpClient]:
|
|
68
|
+
pass
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
class BeforeRequestHook(ABC):
|
|
72
|
+
@abstractmethod
|
|
73
|
+
def before_request(
|
|
74
|
+
self, hook_ctx: BeforeRequestContext, request: httpx.Request
|
|
75
|
+
) -> Union[httpx.Request, Exception]:
|
|
76
|
+
pass
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
class AfterSuccessHook(ABC):
|
|
80
|
+
@abstractmethod
|
|
81
|
+
def after_success(
|
|
82
|
+
self, hook_ctx: AfterSuccessContext, response: httpx.Response
|
|
83
|
+
) -> Union[httpx.Response, Exception]:
|
|
84
|
+
pass
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class AfterErrorHook(ABC):
|
|
88
|
+
@abstractmethod
|
|
89
|
+
def after_error(
|
|
90
|
+
self,
|
|
91
|
+
hook_ctx: AfterErrorContext,
|
|
92
|
+
response: Optional[httpx.Response],
|
|
93
|
+
error: Optional[Exception],
|
|
94
|
+
) -> Union[Tuple[Optional[httpx.Response], Optional[Exception]], Exception]:
|
|
95
|
+
pass
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
class Hooks(ABC):
|
|
99
|
+
@abstractmethod
|
|
100
|
+
def register_sdk_init_hook(self, hook: SDKInitHook):
|
|
101
|
+
pass
|
|
102
|
+
|
|
103
|
+
@abstractmethod
|
|
104
|
+
def register_before_request_hook(self, hook: BeforeRequestHook):
|
|
105
|
+
pass
|
|
106
|
+
|
|
107
|
+
@abstractmethod
|
|
108
|
+
def register_after_success_hook(self, hook: AfterSuccessHook):
|
|
109
|
+
pass
|
|
110
|
+
|
|
111
|
+
@abstractmethod
|
|
112
|
+
def register_after_error_hook(self, hook: AfterErrorHook):
|
|
113
|
+
pass
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
import importlib.metadata
|
|
4
|
+
|
|
5
|
+
__title__: str = "glean"
|
|
6
|
+
__version__: str = "0.11.18"
|
|
7
|
+
__openapi_doc_version__: str = "0.9.0"
|
|
8
|
+
__gen_version__: str = "2.743.2"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.11.18 2.743.2 0.9.0 glean"
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
if __package__ is not None:
|
|
13
|
+
__version__ = importlib.metadata.version(__package__)
|
|
14
|
+
except importlib.metadata.PackageNotFoundError:
|
|
15
|
+
pass
|