From 307b696bb0d08779774c09ac14f738595df89e70 Mon Sep 17 00:00:00 2001 From: Excavator Bot <33266368+svc-excavator-bot@users.noreply.github.com> Date: Tue, 17 Dec 2024 09:57:30 -0800 Subject: [PATCH] Excavator: Upgrade API Version (#91) --- README.md | 22 +- docs/v1/Datasets/Dataset.md | 8 +- docs/v1/Mediasets/MediaSet.md | 426 ++++++++++++++++ docs/v1/core/models/DecimalType.md | 4 +- docs/v1/core/models/DecimalTypeDict.md | 4 +- docs/v1/core/models/DisplayName.md | 2 +- docs/v1/core/models/Duration.md | 2 +- docs/v1/core/models/FilePath.md | 2 +- docs/v1/core/models/MediaItemPath.md | 15 + docs/v1/core/models/MediaReference.md | 12 + docs/v1/core/models/MediaReferenceDict.md | 12 + docs/v1/core/models/MediaSetViewItem.md | 14 + docs/v1/core/models/MediaSetViewItemDict.md | 14 + docs/v1/core/models/MediaSetViewRid.md | 11 + docs/v1/core/models/MediaType.md | 13 + docs/v1/core/models/PageSize.md | 2 +- docs/v1/core/models/PageToken.md | 2 +- docs/v1/core/models/PreviewMode.md | 2 +- docs/v1/core/models/Reference.md | 12 + docs/v1/core/models/ReferenceDict.md | 12 + docs/v1/core/models/StructFieldName.md | 2 +- docs/v1/core/models/TotalCount.md | 2 +- docs/v1/core/models/UnsupportedType.md | 2 +- docs/v1/core/models/UnsupportedTypeDict.md | 2 +- docs/v1/core/models/UserId.md | 12 + docs/v1/datasets/models/BranchId.md | 2 +- docs/v1/datasets/models/DatasetName.md | 2 +- docs/v1/datasets/models/File.md | 2 +- docs/v1/datasets/models/FileDict.md | 2 +- docs/v1/mediasets/models/BranchName.md | 13 + docs/v1/mediasets/models/BranchRid.md | 12 + .../models/GetMediaItemInfoResponse.md | 14 + .../models/GetMediaItemInfoResponseDict.md | 14 + docs/v1/mediasets/models/LogicalTimestamp.md | 16 + docs/v1/mediasets/models/MediaAttribution.md | 12 + .../mediasets/models/MediaAttributionDict.md | 12 + .../mediasets/models/PutMediaItemResponse.md | 11 + .../models/PutMediaItemResponseDict.md | 11 + docs/v1/mediasets/models/TransactionId.md | 12 + docs/v1/ontologies/models/ActionType.md | 2 +- .../v1/ontologies/models/ActionTypeApiName.md | 2 +- docs/v1/ontologies/models/ActionTypeDict.md | 2 +- .../models/AggregateObjectsResponse.md | 2 +- .../models/AggregateObjectsResponseDict.md | 2 +- .../models/AggregationExactGroupingDict.md | 2 +- .../AggregationFixedWidthGroupingDict.md | 2 +- .../ontologies/models/AggregationGroupKey.md | 2 +- .../models/AggregationMetricName.md | 2 +- .../models/AggregationMetricResult.md | 4 +- .../models/AggregationMetricResultDict.md | 4 +- .../v1/ontologies/models/AllTermsQueryDict.md | 2 +- docs/v1/ontologies/models/AnyTermQueryDict.md | 2 +- .../models/DerivedPropertyApiName.md | 2 +- docs/v1/ontologies/models/FieldNameV1.md | 2 +- docs/v1/ontologies/models/FilterValue.md | 2 +- docs/v1/ontologies/models/FunctionVersion.md | 2 +- docs/v1/ontologies/models/Fuzzy.md | 2 +- .../ontologies/models/InterfaceTypeApiName.md | 2 +- docs/v1/ontologies/models/IsNullQueryDict.md | 2 +- docs/v1/ontologies/models/LinkTypeApiName.md | 2 +- docs/v1/ontologies/models/ObjectType.md | 2 +- .../v1/ontologies/models/ObjectTypeApiName.md | 2 +- docs/v1/ontologies/models/ObjectTypeDict.md | 2 +- docs/v1/ontologies/models/OneOfConstraint.md | 2 +- .../ontologies/models/OneOfConstraintDict.md | 2 +- docs/v1/ontologies/models/Ontology.md | 2 +- docs/v1/ontologies/models/OntologyApiName.md | 2 +- docs/v1/ontologies/models/OntologyDict.md | 2 +- .../ontologies/models/OntologyStructField.md | 2 +- .../models/OntologyStructFieldDict.md | 2 +- docs/v1/ontologies/models/OrderBy.md | 2 +- docs/v1/ontologies/models/Parameter.md | 4 +- docs/v1/ontologies/models/ParameterDict.md | 4 +- .../models/ParameterEvaluationResult.md | 2 +- .../models/ParameterEvaluationResultDict.md | 2 +- docs/v1/ontologies/models/ParameterId.md | 2 +- docs/v1/ontologies/models/PhraseQueryDict.md | 2 +- docs/v1/ontologies/models/PrefixQueryDict.md | 2 +- docs/v1/ontologies/models/Property.md | 2 +- docs/v1/ontologies/models/PropertyApiName.md | 2 +- docs/v1/ontologies/models/PropertyDict.md | 2 +- docs/v1/ontologies/models/PropertyFilter.md | 2 +- docs/v1/ontologies/models/PropertyId.md | 2 +- .../models/PropertyValueEscapedString.md | 2 +- docs/v1/ontologies/models/QueryApiName.md | 2 +- .../models/QueryRuntimeErrorParameter.md | 2 +- docs/v1/ontologies/models/QueryType.md | 2 +- docs/v1/ontologies/models/QueryTypeDict.md | 2 +- docs/v1/ontologies/models/SdkPackageName.md | 2 +- .../ontologies/models/SearchOrderingDict.md | 2 +- .../models/SelectedPropertyApiName.md | 2 +- .../models/SharedPropertyTypeApiName.md | 2 +- .../models/StringRegexMatchConstraint.md | 4 +- .../models/StringRegexMatchConstraintDict.md | 4 +- .../models/SubmissionCriteriaEvaluation.md | 2 +- .../SubmissionCriteriaEvaluationDict.md | 2 +- docs/v1/ontologies/models/ValueType.md | 2 +- docs/v2/Admin/Group.md | 4 +- docs/v2/Admin/GroupMember.md | 8 +- docs/v2/Admin/GroupMembership.md | 8 +- docs/v2/Admin/MarkingMember.md | 8 +- docs/v2/Connectivity/FileImport.md | 8 +- docs/v2/Datasets/Dataset.md | 8 +- docs/v2/OntologiesV2/LinkedObjectV2.md | 12 +- docs/v2/OntologiesV2/OntologyObjectSet.md | 4 +- docs/v2/OntologiesV2/OntologyObjectV2.md | 16 +- docs/v2/Orchestration/Schedule.md | 16 +- docs/v2/ThirdPartyApplications/Version.md | 4 +- docs/v2/admin/models/AttributeName.md | 2 +- docs/v2/admin/models/AttributeValue.md | 2 +- docs/v2/admin/models/EnrollmentName.md | 2 +- docs/v2/admin/models/Group.md | 2 +- docs/v2/admin/models/GroupDict.md | 2 +- docs/v2/admin/models/GroupName.md | 2 +- docs/v2/admin/models/GroupSearchFilterDict.md | 2 +- docs/v2/admin/models/HostName.md | 2 +- docs/v2/admin/models/Marking.md | 2 +- docs/v2/admin/models/MarkingCategory.md | 2 +- docs/v2/admin/models/MarkingCategoryDict.md | 2 +- .../models/MarkingCategoryDisplayName.md | 2 +- docs/v2/admin/models/MarkingCategoryId.md | 2 +- docs/v2/admin/models/MarkingDict.md | 2 +- docs/v2/admin/models/MarkingDisplayName.md | 2 +- docs/v2/admin/models/User.md | 6 +- docs/v2/admin/models/UserDict.md | 6 +- docs/v2/admin/models/UserSearchFilterDict.md | 2 +- docs/v2/admin/models/UserUsername.md | 2 +- .../models/AgentMarkdownResponse.md | 2 +- docs/v2/aip_agents/models/AgentMetadata.md | 8 +- .../v2/aip_agents/models/AgentMetadataDict.md | 8 +- .../aip_agents/models/AgentVersionDetails.md | 4 +- .../models/AgentVersionDetailsDict.md | 4 +- .../aip_agents/models/AgentVersionString.md | 2 +- docs/v2/aip_agents/models/Parameter.md | 2 +- docs/v2/aip_agents/models/ParameterDict.md | 2 +- docs/v2/aip_agents/models/ParameterId.md | 2 +- .../models/SessionExchangeResult.md | 4 +- .../models/SessionExchangeResultDict.md | 4 +- docs/v2/aip_agents/models/SessionMetadata.md | 4 +- .../aip_agents/models/SessionMetadataDict.md | 4 +- docs/v2/aip_agents/models/StringParameter.md | 2 +- .../aip_agents/models/StringParameterDict.md | 2 +- .../aip_agents/models/StringParameterValue.md | 2 +- .../models/StringParameterValueDict.md | 2 +- docs/v2/aip_agents/models/UserTextInput.md | 2 +- .../v2/aip_agents/models/UserTextInputDict.md | 2 +- docs/v2/connectivity/models/AwsAccessKey.md | 2 +- .../connectivity/models/AwsAccessKeyDict.md | 2 +- .../models/ConnectionDisplayName.md | 2 +- ...ionRequestS3ConnectionConfigurationDict.md | 2 +- ...eTableImportRequestJdbcImportConfigDict.md | 2 +- ...tRequestMicrosoftAccessImportConfigDict.md | 2 +- ...questMicrosoftSqlServerImportConfigDict.md | 2 +- ...ableImportRequestOracleImportConfigDict.md | 2 +- ...ImportRequestPostgreSqlImportConfigDict.md | 2 +- .../models/FileAnyPathMatchesFilter.md | 2 +- .../models/FileAnyPathMatchesFilterDict.md | 2 +- .../models/FileAtLeastCountFilter.md | 2 +- .../models/FileAtLeastCountFilterDict.md | 2 +- docs/v2/connectivity/models/FileImport.md | 2 +- docs/v2/connectivity/models/FileImportDict.md | 2 +- .../models/FileImportDisplayName.md | 2 +- .../models/FilePathMatchesFilter.md | 2 +- .../models/FilePathMatchesFilterDict.md | 2 +- .../models/FilePathNotMatchesFilter.md | 2 +- .../models/FilePathNotMatchesFilterDict.md | 2 +- .../models/FilesCountLimitFilter.md | 2 +- .../models/FilesCountLimitFilterDict.md | 2 +- .../connectivity/models/JdbcImportConfig.md | 2 +- .../models/JdbcImportConfigDict.md | 2 +- .../models/MicrosoftAccessImportConfig.md | 2 +- .../models/MicrosoftAccessImportConfigDict.md | 2 +- .../models/MicrosoftSqlServerImportConfig.md | 2 +- .../MicrosoftSqlServerImportConfigDict.md | 2 +- docs/v2/connectivity/models/Oidc.md | 4 +- docs/v2/connectivity/models/OidcDict.md | 4 +- .../connectivity/models/OracleImportConfig.md | 2 +- .../models/OracleImportConfigDict.md | 2 +- docs/v2/connectivity/models/PlaintextValue.md | 2 +- .../models/PostgreSqlImportConfig.md | 2 +- .../models/PostgreSqlImportConfigDict.md | 2 +- .../models/S3ConnectionConfiguration.md | 2 +- .../models/S3ConnectionConfigurationDict.md | 2 +- docs/v2/connectivity/models/SecretName.md | 2 +- .../models/TableImportAllowSchemaChanges.md | 2 +- .../models/TableImportDisplayName.md | 2 +- docs/v2/core/models/ContentLength.md | 2 +- docs/v2/core/models/ContentType.md | 2 +- docs/v2/core/models/CustomMetadata.md | 2 +- docs/v2/core/models/DecimalType.md | 4 +- docs/v2/core/models/DecimalTypeDict.md | 4 +- docs/v2/core/models/DisplayName.md | 2 +- docs/v2/core/models/Distance.md | 2 +- docs/v2/core/models/DistanceDict.md | 2 +- docs/v2/core/models/Duration.md | 2 +- docs/v2/core/models/DurationDict.md | 2 +- docs/v2/core/models/FieldName.md | 2 +- docs/v2/core/models/FieldSchema.md | 2 +- docs/v2/core/models/FieldSchemaDict.md | 2 +- docs/v2/core/models/FilePath.md | 2 +- docs/v2/core/models/Filename.md | 2 +- docs/v2/core/models/MediaType.md | 2 +- docs/v2/core/models/PageSize.md | 2 +- docs/v2/core/models/PageToken.md | 2 +- docs/v2/core/models/PreviewMode.md | 2 +- docs/v2/core/models/PrincipalId.md | 2 +- docs/v2/core/models/Realm.md | 2 +- docs/v2/core/models/SizeBytes.md | 2 +- docs/v2/core/models/StructFieldName.md | 2 +- docs/v2/core/models/TotalCount.md | 2 +- docs/v2/core/models/UnsupportedType.md | 2 +- docs/v2/core/models/UnsupportedTypeDict.md | 2 +- docs/v2/core/models/ZoneId.md | 2 +- docs/v2/datasets/models/BranchName.md | 2 +- docs/v2/datasets/models/DatasetName.md | 2 +- docs/v2/datasets/models/File.md | 2 +- docs/v2/datasets/models/FileDict.md | 2 +- docs/v2/filesystem/models/Folder.md | 4 +- docs/v2/filesystem/models/FolderDict.md | 4 +- .../v2/filesystem/models/IsDirectlyApplied.md | 2 +- docs/v2/filesystem/models/Project.md | 4 +- docs/v2/filesystem/models/ProjectDict.md | 4 +- docs/v2/filesystem/models/Resource.md | 4 +- docs/v2/filesystem/models/ResourceDict.md | 4 +- .../filesystem/models/ResourceDisplayName.md | 2 +- docs/v2/filesystem/models/ResourcePath.md | 2 +- docs/v2/functions/models/FunctionVersion.md | 2 +- docs/v2/functions/models/Parameter.md | 2 +- docs/v2/functions/models/ParameterDict.md | 2 +- docs/v2/functions/models/ParameterId.md | 2 +- docs/v2/functions/models/Query.md | 2 +- docs/v2/functions/models/QueryApiName.md | 2 +- docs/v2/functions/models/QueryDict.md | 2 +- .../models/QueryRuntimeErrorParameter.md | 2 +- docs/v2/functions/models/StructFieldName.md | 2 +- docs/v2/functions/models/ValueTypeApiName.md | 2 +- .../ValueTypeDataTypeStructFieldIdentifier.md | 2 +- .../functions/models/ValueTypeDescription.md | 2 +- docs/v2/functions/models/ValueTypeVersion.md | 2 +- docs/v2/geo/models/Coordinate.md | 2 +- .../v2/ontologies/models/ActionParameterV2.md | 4 +- .../models/ActionParameterV2Dict.md | 4 +- .../v2/ontologies/models/ActionTypeApiName.md | 2 +- docs/v2/ontologies/models/ActionTypeV2.md | 2 +- docs/v2/ontologies/models/ActionTypeV2Dict.md | 2 +- .../models/AggregateObjectsResponseV2.md | 2 +- .../models/AggregateObjectsResponseV2Dict.md | 2 +- .../AggregationDurationGroupingV2Dict.md | 2 +- .../models/AggregationExactGroupingV2Dict.md | 2 +- .../AggregationFixedWidthGroupingV2Dict.md | 2 +- .../models/AggregationGroupKeyV2.md | 2 +- .../models/AggregationMetricName.md | 2 +- .../models/AggregationMetricResultV2.md | 2 +- .../models/AggregationMetricResultV2Dict.md | 2 +- .../ApproximatePercentileAggregationV2Dict.md | 2 +- docs/v2/ontologies/models/BlueprintIcon.md | 4 +- .../v2/ontologies/models/BlueprintIconDict.md | 4 +- .../ContainsAllTermsInOrderPrefixLastTerm.md | 2 +- ...ntainsAllTermsInOrderPrefixLastTermDict.md | 2 +- .../models/ContainsAllTermsInOrderQuery.md | 2 +- .../ContainsAllTermsInOrderQueryDict.md | 2 +- .../models/ContainsAllTermsQuery.md | 2 +- .../models/ContainsAllTermsQueryDict.md | 2 +- .../ontologies/models/ContainsAnyTermQuery.md | 2 +- .../models/ContainsAnyTermQueryDict.md | 2 +- .../models/CountObjectsResponseV2.md | 2 +- .../models/CountObjectsResponseV2Dict.md | 2 +- .../models/DeprecatedPropertyTypeStatus.md | 2 +- .../DeprecatedPropertyTypeStatusDict.md | 2 +- docs/v2/ontologies/models/FunctionVersion.md | 2 +- docs/v2/ontologies/models/FuzzyV2.md | 2 +- .../v2/ontologies/models/InterfaceLinkType.md | 4 +- .../models/InterfaceLinkTypeApiName.md | 2 +- .../models/InterfaceLinkTypeDict.md | 4 +- docs/v2/ontologies/models/InterfaceType.md | 2 +- .../ontologies/models/InterfaceTypeApiName.md | 2 +- .../v2/ontologies/models/InterfaceTypeDict.md | 2 +- docs/v2/ontologies/models/IsNullQueryV2.md | 2 +- .../v2/ontologies/models/IsNullQueryV2Dict.md | 2 +- docs/v2/ontologies/models/LinkTypeApiName.md | 2 +- docs/v2/ontologies/models/ObjectEdits.md | 10 +- docs/v2/ontologies/models/ObjectEditsDict.md | 10 +- .../v2/ontologies/models/ObjectSetBaseType.md | 2 +- .../models/ObjectSetBaseTypeDict.md | 2 +- .../v2/ontologies/models/ObjectTypeApiName.md | 2 +- docs/v2/ontologies/models/ObjectTypeId.md | 2 +- docs/v2/ontologies/models/ObjectTypeV2.md | 4 +- docs/v2/ontologies/models/ObjectTypeV2Dict.md | 4 +- docs/v2/ontologies/models/OneOfConstraint.md | 2 +- .../ontologies/models/OneOfConstraintDict.md | 2 +- docs/v2/ontologies/models/OntologyApiName.md | 2 +- .../ontologies/models/OntologyIdentifier.md | 2 +- docs/v2/ontologies/models/OntologyV2.md | 2 +- docs/v2/ontologies/models/OntologyV2Dict.md | 2 +- docs/v2/ontologies/models/OrderBy.md | 2 +- .../models/ParameterEvaluationResult.md | 2 +- .../models/ParameterEvaluationResultDict.md | 2 +- docs/v2/ontologies/models/ParameterId.md | 2 +- docs/v2/ontologies/models/PropertyApiName.md | 2 +- docs/v2/ontologies/models/PropertyV2.md | 2 +- docs/v2/ontologies/models/PropertyV2Dict.md | 2 +- .../models/PropertyValueEscapedString.md | 2 +- docs/v2/ontologies/models/QueryApiName.md | 2 +- docs/v2/ontologies/models/QueryParameterV2.md | 2 +- .../ontologies/models/QueryParameterV2Dict.md | 2 +- docs/v2/ontologies/models/QueryTypeV2.md | 2 +- docs/v2/ontologies/models/QueryTypeV2Dict.md | 2 +- docs/v2/ontologies/models/RelativeTimeDict.md | 2 +- docs/v2/ontologies/models/SdkPackageName.md | 2 +- .../ontologies/models/SearchOrderingV2Dict.md | 2 +- .../models/SelectedPropertyApiName.md | 2 +- .../ontologies/models/SharedPropertyType.md | 2 +- .../models/SharedPropertyTypeApiName.md | 2 +- .../models/SharedPropertyTypeDict.md | 2 +- docs/v2/ontologies/models/StartsWithQuery.md | 2 +- .../ontologies/models/StartsWithQueryDict.md | 2 +- .../models/StringRegexMatchConstraint.md | 4 +- .../models/StringRegexMatchConstraintDict.md | 4 +- .../ontologies/models/StructFieldApiName.md | 2 +- .../models/SubmissionCriteriaEvaluation.md | 2 +- .../SubmissionCriteriaEvaluationDict.md | 2 +- .../v2/orchestration/models/AbortOnFailure.md | 2 +- .../v2/orchestration/models/CronExpression.md | 2 +- docs/v2/orchestration/models/ForceBuild.md | 2 +- .../models/NotificationsEnabled.md | 2 +- docs/v2/orchestration/models/RetryCount.md | 2 +- docs/v2/orchestration/models/Schedule.md | 4 +- docs/v2/orchestration/models/ScheduleDict.md | 4 +- .../v2/orchestration/models/SchedulePaused.md | 2 +- .../orchestration/models/ScheduleRunError.md | 2 +- .../models/ScheduleRunErrorDict.md | 2 +- docs/v2/streams/models/Compressed.md | 2 +- docs/v2/streams/models/PartitionsCount.md | 2 +- docs/v2/streams/models/Record.md | 2 +- .../models/Subdomain.md | 2 +- .../models/VersionVersion.md | 2 +- foundry/_core/utils.py | 15 +- foundry/v1/cli.py | 176 +++++++ foundry/v1/client.py | 2 + .../errors/_invalid_parameter_combination.py | 4 +- .../errors/_resource_name_already_exists.py | 2 +- .../v1/core/errors/_unknown_distance_unit.py | 2 +- foundry/v1/core/models/__init__.py | 20 + foundry/v1/core/models/_decimal_type.py | 4 +- foundry/v1/core/models/_decimal_type_dict.py | 5 +- foundry/v1/core/models/_display_name.py | 4 +- foundry/v1/core/models/_duration.py | 4 +- foundry/v1/core/models/_file_path.py | 4 +- foundry/v1/core/models/_media_item_path.py | 24 + foundry/v1/core/models/_media_reference.py | 38 ++ .../v1/core/models/_media_reference_dict.py | 31 ++ .../v1/core/models/_media_set_view_item.py | 44 ++ .../core/models/_media_set_view_item_dict.py | 38 ++ foundry/v1/core/models/_media_set_view_rid.py | 21 + foundry/v1/core/models/_media_type.py | 22 + foundry/v1/core/models/_page_size.py | 4 +- foundry/v1/core/models/_page_token.py | 4 +- foundry/v1/core/models/_preview_mode.py | 4 +- foundry/v1/core/models/_reference.py | 21 + foundry/v1/core/models/_reference_dict.py | 21 + foundry/v1/core/models/_struct_field_name.py | 4 +- foundry/v1/core/models/_total_count.py | 4 +- foundry/v1/core/models/_unsupported_type.py | 2 +- .../v1/core/models/_unsupported_type_dict.py | 3 +- foundry/v1/core/models/_user_id.py | 21 + foundry/v1/datasets/dataset.py | 32 +- foundry/v1/datasets/models/_branch_id.py | 4 +- foundry/v1/datasets/models/_dataset_name.py | 4 +- foundry/v1/datasets/models/_file.py | 3 +- foundry/v1/datasets/models/_file_dict.py | 4 +- foundry/v1/mediasets/client.py | 24 + foundry/v1/mediasets/media_set.py | 473 ++++++++++++++++++ foundry/v1/mediasets/models/__init__.py | 30 +- foundry/v1/mediasets/models/_branch_name.py | 22 + foundry/v1/mediasets/models/_branch_rid.py | 21 + .../models/_get_media_item_info_response.py | 49 ++ .../_get_media_item_info_response_dict.py | 38 ++ .../v1/mediasets/models/_logical_timestamp.py | 27 + .../v1/mediasets/models/_media_attribution.py | 40 ++ .../models/_media_attribution_dict.py | 33 ++ .../models/_put_media_item_response.py | 37 ++ .../models/_put_media_item_response_dict.py | 28 ++ .../v1/mediasets/models/_transaction_id.py | 21 + ..._aggregation_group_count_exceeded_limit.py | 4 +- .../_aggregation_memory_exceeded_limit.py | 4 +- ...n_nested_object_set_size_exceeded_limit.py | 4 +- .../errors/_attachment_size_exceeded_limit.py | 4 +- ..._function_encountered_user_facing_error.py | 2 +- .../errors/_function_execution_failed.py | 4 +- .../v1/ontologies/errors/_invalid_fields.py | 2 +- .../v1/ontologies/errors/_invalid_group_id.py | 2 +- .../ontologies/errors/_invalid_range_query.py | 2 +- .../ontologies/errors/_invalid_sort_order.py | 2 +- .../ontologies/errors/_invalid_sort_type.py | 2 +- .../v1/ontologies/errors/_invalid_user_id.py | 2 +- .../errors/_malformed_property_filters.py | 2 +- ...ultiple_group_by_on_field_not_supported.py | 2 +- .../errors/_ontology_edits_exceeded_limit.py | 4 +- .../_query_encountered_user_facing_error.py | 2 +- .../ontologies/errors/_query_runtime_error.py | 6 +- foundry/v1/ontologies/models/_action_type.py | 2 +- .../models/_action_type_api_name.py | 4 +- .../v1/ontologies/models/_action_type_dict.py | 3 +- .../models/_aggregate_objects_response.py | 4 +- .../_aggregate_objects_response_dict.py | 3 +- .../_aggregation_exact_grouping_dict.py | 3 +- .../_aggregation_fixed_width_grouping_dict.py | 3 +- .../models/_aggregation_group_key.py | 4 +- .../models/_aggregation_metric_name.py | 4 +- .../models/_aggregation_metric_result.py | 4 +- .../models/_aggregation_metric_result_dict.py | 5 +- .../models/_all_terms_query_dict.py | 3 +- .../ontologies/models/_any_term_query_dict.py | 3 +- .../models/_derived_property_api_name.py | 4 +- .../v1/ontologies/models/_field_name_v1.py | 4 +- foundry/v1/ontologies/models/_filter_value.py | 4 +- .../v1/ontologies/models/_function_version.py | 4 +- foundry/v1/ontologies/models/_fuzzy.py | 4 +- .../models/_interface_type_api_name.py | 4 +- .../ontologies/models/_is_null_query_dict.py | 3 +- .../ontologies/models/_link_type_api_name.py | 4 +- foundry/v1/ontologies/models/_object_type.py | 2 +- .../models/_object_type_api_name.py | 4 +- .../v1/ontologies/models/_object_type_dict.py | 3 +- .../ontologies/models/_one_of_constraint.py | 2 +- .../models/_one_of_constraint_dict.py | 3 +- foundry/v1/ontologies/models/_ontology.py | 2 +- .../ontologies/models/_ontology_api_name.py | 4 +- .../ontologies/models/_ontology_data_type.py | 2 +- .../models/_ontology_data_type_dict.py | 2 +- .../v1/ontologies/models/_ontology_dict.py | 3 +- .../models/_ontology_struct_field.py | 2 +- .../models/_ontology_struct_field_dict.py | 3 +- foundry/v1/ontologies/models/_order_by.py | 4 +- foundry/v1/ontologies/models/_parameter.py | 4 +- .../v1/ontologies/models/_parameter_dict.py | 5 +- .../models/_parameter_evaluation_result.py | 2 +- .../_parameter_evaluation_result_dict.py | 3 +- foundry/v1/ontologies/models/_parameter_id.py | 4 +- .../ontologies/models/_phrase_query_dict.py | 3 +- .../ontologies/models/_prefix_query_dict.py | 3 +- foundry/v1/ontologies/models/_property.py | 2 +- .../ontologies/models/_property_api_name.py | 4 +- .../v1/ontologies/models/_property_dict.py | 3 +- .../v1/ontologies/models/_property_filter.py | 4 +- foundry/v1/ontologies/models/_property_id.py | 4 +- .../models/_property_value_escaped_string.py | 4 +- .../v1/ontologies/models/_query_api_name.py | 4 +- .../models/_query_runtime_error_parameter.py | 4 +- foundry/v1/ontologies/models/_query_type.py | 2 +- .../v1/ontologies/models/_query_type_dict.py | 3 +- .../v1/ontologies/models/_sdk_package_name.py | 4 +- .../models/_search_ordering_dict.py | 3 +- .../models/_selected_property_api_name.py | 4 +- .../models/_shared_property_type_api_name.py | 4 +- .../models/_string_regex_match_constraint.py | 4 +- .../_string_regex_match_constraint_dict.py | 5 +- .../models/_submission_criteria_evaluation.py | 2 +- .../_submission_criteria_evaluation_dict.py | 3 +- foundry/v1/ontologies/models/_value_type.py | 4 +- .../errors/_group_name_already_exists.py | 2 +- .../_invalid_group_membership_expiration.py | 2 +- foundry/v2/admin/group.py | 6 +- foundry/v2/admin/group_member.py | 8 +- foundry/v2/admin/group_membership.py | 8 +- foundry/v2/admin/marking_member.py | 8 +- foundry/v2/admin/models/_attribute_name.py | 4 +- foundry/v2/admin/models/_attribute_value.py | 4 +- foundry/v2/admin/models/_enrollment_name.py | 4 +- foundry/v2/admin/models/_group.py | 2 +- foundry/v2/admin/models/_group_dict.py | 3 +- foundry/v2/admin/models/_group_name.py | 4 +- .../admin/models/_group_search_filter_dict.py | 3 +- foundry/v2/admin/models/_host_name.py | 4 +- foundry/v2/admin/models/_marking.py | 2 +- foundry/v2/admin/models/_marking_category.py | 2 +- .../v2/admin/models/_marking_category_dict.py | 3 +- .../models/_marking_category_display_name.py | 4 +- .../v2/admin/models/_marking_category_id.py | 4 +- foundry/v2/admin/models/_marking_dict.py | 3 +- .../v2/admin/models/_marking_display_name.py | 4 +- foundry/v2/admin/models/_user.py | 6 +- foundry/v2/admin/models/_user_dict.py | 7 +- .../admin/models/_user_search_filter_dict.py | 3 +- foundry/v2/admin/models/_user_username.py | 4 +- .../_agent_iterations_exceeded_limit.py | 2 +- .../errors/_context_size_exceeded_limit.py | 2 +- .../errors/_function_locator_not_found.py | 2 +- .../errors/_invalid_parameter_type.py | 4 +- .../aip_agents/errors/_rate_limit_exceeded.py | 2 +- .../errors/_session_execution_failed.py | 4 +- .../models/_agent_markdown_response.py | 4 +- .../v2/aip_agents/models/_agent_metadata.py | 10 +- .../aip_agents/models/_agent_metadata_dict.py | 9 +- .../models/_agent_version_details.py | 4 +- .../models/_agent_version_details_dict.py | 5 +- .../models/_agent_version_string.py | 4 +- foundry/v2/aip_agents/models/_parameter.py | 2 +- .../v2/aip_agents/models/_parameter_dict.py | 3 +- foundry/v2/aip_agents/models/_parameter_id.py | 4 +- .../models/_session_exchange_result.py | 6 +- .../models/_session_exchange_result_dict.py | 5 +- .../v2/aip_agents/models/_session_metadata.py | 4 +- .../models/_session_metadata_dict.py | 5 +- .../v2/aip_agents/models/_string_parameter.py | 2 +- .../models/_string_parameter_dict.py | 3 +- .../models/_string_parameter_value.py | 2 +- .../models/_string_parameter_value_dict.py | 3 +- .../v2/aip_agents/models/_user_text_input.py | 2 +- .../models/_user_text_input_dict.py | 3 +- foundry/v2/cli.py | 4 +- .../_connection_details_not_determined.py | 2 +- .../errors/_connection_type_not_supported.py | 2 +- ...at_least_count_filter_invalid_min_count.py | 2 +- ..._files_count_limit_filter_invalid_limit.py | 2 +- ...ble_import_not_supported_for_connection.py | 2 +- .../_table_import_type_not_supported.py | 2 +- foundry/v2/connectivity/file_import.py | 12 +- .../v2/connectivity/models/_aws_access_key.py | 2 +- .../models/_aws_access_key_dict.py | 3 +- .../models/_connection_display_name.py | 4 +- ...equest_s3_connection_configuration_dict.py | 3 +- ..._import_request_jdbc_import_config_dict.py | 3 +- ...est_microsoft_access_import_config_dict.py | 3 +- ...microsoft_sql_server_import_config_dict.py | 3 +- ...mport_request_oracle_import_config_dict.py | 3 +- ..._request_postgre_sql_import_config_dict.py | 3 +- .../models/_file_any_path_matches_filter.py | 2 +- .../_file_any_path_matches_filter_dict.py | 3 +- .../models/_file_at_least_count_filter.py | 2 +- .../_file_at_least_count_filter_dict.py | 3 +- .../v2/connectivity/models/_file_import.py | 2 +- .../connectivity/models/_file_import_dict.py | 3 +- .../models/_file_import_display_name.py | 4 +- .../models/_file_path_matches_filter.py | 2 +- .../models/_file_path_matches_filter_dict.py | 3 +- .../models/_file_path_not_matches_filter.py | 2 +- .../_file_path_not_matches_filter_dict.py | 3 +- .../models/_files_count_limit_filter.py | 2 +- .../models/_files_count_limit_filter_dict.py | 3 +- .../models/_jdbc_import_config.py | 2 +- .../models/_jdbc_import_config_dict.py | 3 +- .../models/_microsoft_access_import_config.py | 2 +- .../_microsoft_access_import_config_dict.py | 3 +- .../_microsoft_sql_server_import_config.py | 2 +- ...microsoft_sql_server_import_config_dict.py | 3 +- foundry/v2/connectivity/models/_oidc.py | 4 +- foundry/v2/connectivity/models/_oidc_dict.py | 5 +- .../models/_oracle_import_config.py | 2 +- .../models/_oracle_import_config_dict.py | 3 +- .../connectivity/models/_plaintext_value.py | 4 +- .../models/_postgre_sql_import_config.py | 2 +- .../models/_postgre_sql_import_config_dict.py | 3 +- .../models/_s3_connection_configuration.py | 2 +- .../_s3_connection_configuration_dict.py | 3 +- .../v2/connectivity/models/_secret_name.py | 4 +- .../_table_import_allow_schema_changes.py | 4 +- .../models/_table_import_display_name.py | 4 +- .../_batch_request_size_exceeded_limit.py | 4 +- .../v2/core/errors/_invalid_field_schema.py | 2 +- .../errors/_invalid_parameter_combination.py | 4 +- foundry/v2/core/errors/_invalid_schema.py | 4 +- .../errors/_resource_name_already_exists.py | 2 +- foundry/v2/core/models/_content_length.py | 4 +- foundry/v2/core/models/_content_type.py | 4 +- foundry/v2/core/models/_custom_metadata.py | 4 +- foundry/v2/core/models/_decimal_type.py | 4 +- foundry/v2/core/models/_decimal_type_dict.py | 5 +- foundry/v2/core/models/_display_name.py | 4 +- foundry/v2/core/models/_distance.py | 2 +- foundry/v2/core/models/_distance_dict.py | 3 +- foundry/v2/core/models/_duration.py | 2 +- foundry/v2/core/models/_duration_dict.py | 3 +- foundry/v2/core/models/_field_data_type.py | 2 +- .../v2/core/models/_field_data_type_dict.py | 2 +- foundry/v2/core/models/_field_name.py | 4 +- foundry/v2/core/models/_field_schema.py | 2 +- foundry/v2/core/models/_field_schema_dict.py | 3 +- foundry/v2/core/models/_file_path.py | 4 +- foundry/v2/core/models/_filename.py | 4 +- foundry/v2/core/models/_media_type.py | 4 +- foundry/v2/core/models/_page_size.py | 4 +- foundry/v2/core/models/_page_token.py | 4 +- foundry/v2/core/models/_preview_mode.py | 4 +- foundry/v2/core/models/_principal_id.py | 4 +- foundry/v2/core/models/_realm.py | 4 +- foundry/v2/core/models/_size_bytes.py | 4 +- foundry/v2/core/models/_struct_field_name.py | 4 +- foundry/v2/core/models/_total_count.py | 4 +- foundry/v2/core/models/_unsupported_type.py | 2 +- .../v2/core/models/_unsupported_type_dict.py | 3 +- foundry/v2/core/models/_zone_id.py | 4 +- foundry/v2/datasets/dataset.py | 32 +- foundry/v2/datasets/models/_branch_name.py | 4 +- foundry/v2/datasets/models/_dataset_name.py | 4 +- foundry/v2/datasets/models/_file.py | 3 +- foundry/v2/datasets/models/_file_dict.py | 4 +- foundry/v2/filesystem/models/_folder.py | 4 +- foundry/v2/filesystem/models/_folder_dict.py | 5 +- .../filesystem/models/_is_directly_applied.py | 4 +- foundry/v2/filesystem/models/_project.py | 4 +- foundry/v2/filesystem/models/_project_dict.py | 5 +- foundry/v2/filesystem/models/_resource.py | 4 +- .../v2/filesystem/models/_resource_dict.py | 5 +- .../models/_resource_display_name.py | 4 +- .../v2/filesystem/models/_resource_path.py | 4 +- .../_query_encountered_user_facing_error.py | 2 +- .../functions/errors/_query_runtime_error.py | 6 +- .../v2/functions/models/_function_version.py | 4 +- foundry/v2/functions/models/_parameter.py | 2 +- .../v2/functions/models/_parameter_dict.py | 3 +- foundry/v2/functions/models/_parameter_id.py | 4 +- foundry/v2/functions/models/_query.py | 2 +- .../v2/functions/models/_query_api_name.py | 4 +- foundry/v2/functions/models/_query_dict.py | 3 +- .../models/_query_runtime_error_parameter.py | 4 +- .../v2/functions/models/_struct_field_name.py | 4 +- .../functions/models/_value_type_api_name.py | 4 +- ..._type_data_type_struct_field_identifier.py | 4 +- .../models/_value_type_description.py | 4 +- .../functions/models/_value_type_version.py | 4 +- foundry/v2/geo/models/_coordinate.py | 4 +- foundry/v2/ontologies/linked_object.py | 12 +- .../ontologies/models/_action_parameter_v2.py | 4 +- .../models/_action_parameter_v2_dict.py | 5 +- .../models/_action_type_api_name.py | 4 +- .../v2/ontologies/models/_action_type_v2.py | 2 +- .../ontologies/models/_action_type_v2_dict.py | 3 +- .../models/_aggregate_objects_response_v2.py | 4 +- .../_aggregate_objects_response_v2_dict.py | 3 +- .../_aggregation_duration_grouping_v2_dict.py | 3 +- .../_aggregation_exact_grouping_v2_dict.py | 3 +- ...ggregation_fixed_width_grouping_v2_dict.py | 3 +- .../models/_aggregation_group_key_v2.py | 4 +- .../models/_aggregation_metric_name.py | 4 +- .../models/_aggregation_metric_result_v2.py | 2 +- .../_aggregation_metric_result_v2_dict.py | 3 +- ...roximate_percentile_aggregation_v2_dict.py | 3 +- .../v2/ontologies/models/_blueprint_icon.py | 4 +- .../ontologies/models/_blueprint_icon_dict.py | 5 +- ...ins_all_terms_in_order_prefix_last_term.py | 2 +- ...ll_terms_in_order_prefix_last_term_dict.py | 3 +- .../_contains_all_terms_in_order_query.py | 2 +- ..._contains_all_terms_in_order_query_dict.py | 3 +- .../models/_contains_all_terms_query.py | 2 +- .../models/_contains_all_terms_query_dict.py | 3 +- .../models/_contains_any_term_query.py | 2 +- .../models/_contains_any_term_query_dict.py | 3 +- .../models/_count_objects_response_v2.py | 2 +- .../models/_count_objects_response_v2_dict.py | 3 +- .../_deprecated_property_type_status.py | 2 +- .../_deprecated_property_type_status_dict.py | 3 +- .../v2/ontologies/models/_function_version.py | 4 +- foundry/v2/ontologies/models/_fuzzy_v2.py | 4 +- .../ontologies/models/_interface_link_type.py | 4 +- .../models/_interface_link_type_api_name.py | 4 +- .../models/_interface_link_type_dict.py | 5 +- .../v2/ontologies/models/_interface_type.py | 2 +- .../models/_interface_type_api_name.py | 4 +- .../ontologies/models/_interface_type_dict.py | 3 +- .../v2/ontologies/models/_is_null_query_v2.py | 2 +- .../models/_is_null_query_v2_dict.py | 3 +- .../ontologies/models/_link_type_api_name.py | 4 +- foundry/v2/ontologies/models/_object_edits.py | 10 +- .../ontologies/models/_object_edits_dict.py | 11 +- .../models/_object_set_base_type.py | 2 +- .../models/_object_set_base_type_dict.py | 3 +- .../models/_object_type_api_name.py | 4 +- .../v2/ontologies/models/_object_type_id.py | 4 +- .../v2/ontologies/models/_object_type_v2.py | 4 +- .../ontologies/models/_object_type_v2_dict.py | 5 +- .../ontologies/models/_one_of_constraint.py | 2 +- .../models/_one_of_constraint_dict.py | 3 +- .../ontologies/models/_ontology_api_name.py | 4 +- .../ontologies/models/_ontology_identifier.py | 4 +- foundry/v2/ontologies/models/_ontology_v2.py | 2 +- .../v2/ontologies/models/_ontology_v2_dict.py | 3 +- foundry/v2/ontologies/models/_order_by.py | 4 +- .../models/_parameter_evaluation_result.py | 2 +- .../_parameter_evaluation_result_dict.py | 3 +- foundry/v2/ontologies/models/_parameter_id.py | 4 +- .../ontologies/models/_property_api_name.py | 4 +- foundry/v2/ontologies/models/_property_v2.py | 2 +- .../v2/ontologies/models/_property_v2_dict.py | 3 +- .../models/_property_value_escaped_string.py | 4 +- .../v2/ontologies/models/_query_api_name.py | 4 +- .../ontologies/models/_query_parameter_v2.py | 2 +- .../models/_query_parameter_v2_dict.py | 3 +- .../v2/ontologies/models/_query_type_v2.py | 2 +- .../ontologies/models/_query_type_v2_dict.py | 3 +- .../ontologies/models/_relative_time_dict.py | 3 +- .../v2/ontologies/models/_sdk_package_name.py | 4 +- .../models/_search_ordering_v2_dict.py | 3 +- .../models/_selected_property_api_name.py | 4 +- .../models/_shared_property_type.py | 2 +- .../models/_shared_property_type_api_name.py | 4 +- .../models/_shared_property_type_dict.py | 3 +- .../ontologies/models/_starts_with_query.py | 2 +- .../models/_starts_with_query_dict.py | 3 +- .../models/_string_regex_match_constraint.py | 4 +- .../_string_regex_match_constraint_dict.py | 5 +- .../models/_struct_field_api_name.py | 4 +- .../models/_submission_criteria_evaluation.py | 2 +- .../_submission_criteria_evaluation_dict.py | 3 +- foundry/v2/ontologies/ontology_object.py | 18 +- foundry/v2/ontologies/ontology_object_set.py | 6 +- .../orchestration/models/_abort_on_failure.py | 4 +- .../orchestration/models/_cron_expression.py | 4 +- .../v2/orchestration/models/_force_build.py | 4 +- .../models/_notifications_enabled.py | 4 +- .../v2/orchestration/models/_retry_count.py | 4 +- foundry/v2/orchestration/models/_schedule.py | 4 +- .../v2/orchestration/models/_schedule_dict.py | 5 +- .../orchestration/models/_schedule_paused.py | 4 +- .../models/_schedule_run_error.py | 2 +- .../models/_schedule_run_error_dict.py | 3 +- foundry/v2/orchestration/schedule.py | 24 +- .../v2/streams/errors/_invalid_stream_type.py | 2 +- foundry/v2/streams/models/_compressed.py | 4 +- .../v2/streams/models/_partitions_count.py | 4 +- foundry/v2/streams/models/_record.py | 4 +- .../errors/_file_count_limit_exceeded.py | 2 +- .../errors/_file_size_limit_exceeded.py | 7 +- .../errors/_invalid_version.py | 2 +- .../errors/_version_limit_exceeded.py | 2 +- .../models/_subdomain.py | 4 +- .../models/_version_version.py | 4 +- .../v2/third_party_applications/version.py | 4 +- tests/test_utils.py | 67 ++- 729 files changed, 3029 insertions(+), 1264 deletions(-) create mode 100644 docs/v1/Mediasets/MediaSet.md create mode 100644 docs/v1/core/models/MediaItemPath.md create mode 100644 docs/v1/core/models/MediaReference.md create mode 100644 docs/v1/core/models/MediaReferenceDict.md create mode 100644 docs/v1/core/models/MediaSetViewItem.md create mode 100644 docs/v1/core/models/MediaSetViewItemDict.md create mode 100644 docs/v1/core/models/MediaSetViewRid.md create mode 100644 docs/v1/core/models/MediaType.md create mode 100644 docs/v1/core/models/Reference.md create mode 100644 docs/v1/core/models/ReferenceDict.md create mode 100644 docs/v1/core/models/UserId.md create mode 100644 docs/v1/mediasets/models/BranchName.md create mode 100644 docs/v1/mediasets/models/BranchRid.md create mode 100644 docs/v1/mediasets/models/GetMediaItemInfoResponse.md create mode 100644 docs/v1/mediasets/models/GetMediaItemInfoResponseDict.md create mode 100644 docs/v1/mediasets/models/LogicalTimestamp.md create mode 100644 docs/v1/mediasets/models/MediaAttribution.md create mode 100644 docs/v1/mediasets/models/MediaAttributionDict.md create mode 100644 docs/v1/mediasets/models/PutMediaItemResponse.md create mode 100644 docs/v1/mediasets/models/PutMediaItemResponseDict.md create mode 100644 docs/v1/mediasets/models/TransactionId.md create mode 100644 foundry/v1/core/models/_media_item_path.py create mode 100644 foundry/v1/core/models/_media_reference.py create mode 100644 foundry/v1/core/models/_media_reference_dict.py create mode 100644 foundry/v1/core/models/_media_set_view_item.py create mode 100644 foundry/v1/core/models/_media_set_view_item_dict.py create mode 100644 foundry/v1/core/models/_media_set_view_rid.py create mode 100644 foundry/v1/core/models/_media_type.py create mode 100644 foundry/v1/core/models/_reference.py create mode 100644 foundry/v1/core/models/_reference_dict.py create mode 100644 foundry/v1/core/models/_user_id.py create mode 100644 foundry/v1/mediasets/client.py create mode 100644 foundry/v1/mediasets/media_set.py create mode 100644 foundry/v1/mediasets/models/_branch_name.py create mode 100644 foundry/v1/mediasets/models/_branch_rid.py create mode 100644 foundry/v1/mediasets/models/_get_media_item_info_response.py create mode 100644 foundry/v1/mediasets/models/_get_media_item_info_response_dict.py create mode 100644 foundry/v1/mediasets/models/_logical_timestamp.py create mode 100644 foundry/v1/mediasets/models/_media_attribution.py create mode 100644 foundry/v1/mediasets/models/_media_attribution_dict.py create mode 100644 foundry/v1/mediasets/models/_put_media_item_response.py create mode 100644 foundry/v1/mediasets/models/_put_media_item_response_dict.py create mode 100644 foundry/v1/mediasets/models/_transaction_id.py diff --git a/README.md b/README.md index ea7fd282..9b4bd119 100644 --- a/README.md +++ b/README.md @@ -289,7 +289,7 @@ models. For example, here is how `Group.search` method is defined in the `Admin` page_size: Optional[PageSize] = None, page_token: Optional[PageToken] = None, preview: Optional[PreviewMode] = None, - request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, + request_timeout: Optional[Annotated[int, pydantic.Field(gt=0)]] = None, ) -> SearchGroupsResponse: ... ``` @@ -1470,12 +1470,21 @@ Namespace | Resource | Operation | HTTP request | - [LongTypeDict](docs/v1/models/LongTypeDict.md) - [MarkingType](docs/v1/models/MarkingType.md) - [MarkingTypeDict](docs/v1/models/MarkingTypeDict.md) +- [MediaItemPath](docs/v1/models/MediaItemPath.md) - [MediaItemRid](docs/v1/models/MediaItemRid.md) +- [MediaReference](docs/v1/models/MediaReference.md) +- [MediaReferenceDict](docs/v1/models/MediaReferenceDict.md) - [MediaSetRid](docs/v1/models/MediaSetRid.md) +- [MediaSetViewItem](docs/v1/models/MediaSetViewItem.md) +- [MediaSetViewItemDict](docs/v1/models/MediaSetViewItemDict.md) +- [MediaSetViewRid](docs/v1/models/MediaSetViewRid.md) +- [MediaType](docs/v1/models/MediaType.md) - [NullTypeDict](docs/v1/models/NullTypeDict.md) - [PageSize](docs/v1/models/PageSize.md) - [PageToken](docs/v1/models/PageToken.md) - [PreviewMode](docs/v1/models/PreviewMode.md) +- [Reference](docs/v1/models/Reference.md) +- [ReferenceDict](docs/v1/models/ReferenceDict.md) - [ReleaseStatus](docs/v1/models/ReleaseStatus.md) - [ShortType](docs/v1/models/ShortType.md) - [ShortTypeDict](docs/v1/models/ShortTypeDict.md) @@ -1487,6 +1496,7 @@ Namespace | Resource | Operation | HTTP request | - [TotalCount](docs/v1/models/TotalCount.md) - [UnsupportedType](docs/v1/models/UnsupportedType.md) - [UnsupportedTypeDict](docs/v1/models/UnsupportedTypeDict.md) +- [UserId](docs/v1/models/UserId.md) - [Branch](docs/v1/models/Branch.md) - [BranchDict](docs/v1/models/BranchDict.md) - [BranchId](docs/v1/models/BranchId.md) @@ -1506,6 +1516,16 @@ Namespace | Resource | Operation | HTTP request | - [TransactionRid](docs/v1/models/TransactionRid.md) - [TransactionStatus](docs/v1/models/TransactionStatus.md) - [TransactionType](docs/v1/models/TransactionType.md) +- [BranchName](docs/v1/models/BranchName.md) +- [BranchRid](docs/v1/models/BranchRid.md) +- [GetMediaItemInfoResponse](docs/v1/models/GetMediaItemInfoResponse.md) +- [GetMediaItemInfoResponseDict](docs/v1/models/GetMediaItemInfoResponseDict.md) +- [LogicalTimestamp](docs/v1/models/LogicalTimestamp.md) +- [MediaAttribution](docs/v1/models/MediaAttribution.md) +- [MediaAttributionDict](docs/v1/models/MediaAttributionDict.md) +- [PutMediaItemResponse](docs/v1/models/PutMediaItemResponse.md) +- [PutMediaItemResponseDict](docs/v1/models/PutMediaItemResponseDict.md) +- [TransactionId](docs/v1/models/TransactionId.md) - [ActionRid](docs/v1/models/ActionRid.md) - [ActionType](docs/v1/models/ActionType.md) - [ActionTypeApiName](docs/v1/models/ActionTypeApiName.md) diff --git a/docs/v1/Datasets/Dataset.md b/docs/v1/Datasets/Dataset.md index 80e994d4..53fbb7ed 100644 --- a/docs/v1/Datasets/Dataset.md +++ b/docs/v1/Datasets/Dataset.md @@ -259,9 +259,9 @@ Name | Type | Description | Notes | **dataset_rid** | DatasetRid | datasetRid | | **format** | TableExportFormat | format | | **branch_id** | Optional[BranchId] | branchId | [optional] | -**columns** | Optional[List[pydantic.StrictStr]] | columns | [optional] | +**columns** | Optional[List[str]] | columns | [optional] | **end_transaction_rid** | Optional[TransactionRid] | endTransactionRid | [optional] | -**row_limit** | Optional[pydantic.StrictInt] | rowLimit | [optional] | +**row_limit** | Optional[int] | rowLimit | [optional] | **start_transaction_rid** | Optional[TransactionRid] | startTransactionRid | [optional] | ### Return type @@ -284,11 +284,11 @@ dataset_rid = None format = "CSV" # Optional[BranchId] | branchId branch_id = None -# Optional[List[pydantic.StrictStr]] | columns +# Optional[List[str]] | columns columns = None # Optional[TransactionRid] | endTransactionRid end_transaction_rid = None -# Optional[pydantic.StrictInt] | rowLimit +# Optional[int] | rowLimit row_limit = None # Optional[TransactionRid] | startTransactionRid start_transaction_rid = None diff --git a/docs/v1/Mediasets/MediaSet.md b/docs/v1/Mediasets/MediaSet.md new file mode 100644 index 00000000..b19e765a --- /dev/null +++ b/docs/v1/Mediasets/MediaSet.md @@ -0,0 +1,426 @@ +# MediaSet + +Method | HTTP request | +------------- | ------------- | + +Aborts an open transaction. Items uploaded to the media set during this transaction will be deleted. + +Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-write`. + + +### Parameters + +Name | Type | Description | Notes | +------------- | ------------- | ------------- | ------------- | +**media_set_rid** | MediaSetRid | mediaSetRid | | +**transaction_id** | TransactionId | transactionId | | + +### Return type +**None** + +### Example + +```python +from foundry.v1 import FoundryClient +import foundry +from pprint import pprint + +foundry_client = FoundryClient( + auth=foundry.UserTokenAuth(...), hostname="example.palantirfoundry.com" +) + +# MediaSetRid | mediaSetRid +media_set_rid = None +# TransactionId | transactionId +transaction_id = None + + +try: + api_response = foundry_client.mediasets.MediaSet.abort( + media_set_rid, + transaction_id, + ) + print("The abort response:\n") + pprint(api_response) +except foundry.PalantirRPCException as e: + print("HTTP error when calling MediaSet.abort: %s\n" % e) + +``` + + + +### Authorization + +See [README](../../../README.md#authorization) + +### HTTP response details +| Status Code | Type | Description | Content Type | +|-------------|-------------|-------------|------------------| +**204** | None | | None | + +[[Back to top]](#) [[Back to API list]](../../../README.md#apis-v1-link) [[Back to Model list]](../../../README.md#models-v1-link) [[Back to README]](../../../README.md) + +Commits an open transaction. On success, items uploaded to the media set during this transaction will become available. + +Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-write`. + + +### Parameters + +Name | Type | Description | Notes | +------------- | ------------- | ------------- | ------------- | +**media_set_rid** | MediaSetRid | mediaSetRid | | +**transaction_id** | TransactionId | transactionId | | + +### Return type +**None** + +### Example + +```python +from foundry.v1 import FoundryClient +import foundry +from pprint import pprint + +foundry_client = FoundryClient( + auth=foundry.UserTokenAuth(...), hostname="example.palantirfoundry.com" +) + +# MediaSetRid | mediaSetRid +media_set_rid = None +# TransactionId | transactionId +transaction_id = None + + +try: + api_response = foundry_client.mediasets.MediaSet.commit( + media_set_rid, + transaction_id, + ) + print("The commit response:\n") + pprint(api_response) +except foundry.PalantirRPCException as e: + print("HTTP error when calling MediaSet.commit: %s\n" % e) + +``` + + + +### Authorization + +See [README](../../../README.md#authorization) + +### HTTP response details +| Status Code | Type | Description | Content Type | +|-------------|-------------|-------------|------------------| +**204** | None | | None | + +[[Back to top]](#) [[Back to API list]](../../../README.md#apis-v1-link) [[Back to Model list]](../../../README.md#models-v1-link) [[Back to README]](../../../README.md) + +Creates a new transaction. Items uploaded to the media set while this transaction is open will not be reflected until the transaction is committed. + +Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-write`. + + +### Parameters + +Name | Type | Description | Notes | +------------- | ------------- | ------------- | ------------- | +**media_set_rid** | MediaSetRid | mediaSetRid | | +**branch_name** | Optional[BranchName] | branchName | [optional] | + +### Return type +**TransactionId** + +### Example + +```python +from foundry.v1 import FoundryClient +import foundry +from pprint import pprint + +foundry_client = FoundryClient( + auth=foundry.UserTokenAuth(...), hostname="example.palantirfoundry.com" +) + +# MediaSetRid | mediaSetRid +media_set_rid = None +# Optional[BranchName] | branchName +branch_name = None + + +try: + api_response = foundry_client.mediasets.MediaSet.create( + media_set_rid, + branch_name=branch_name, + ) + print("The create response:\n") + pprint(api_response) +except foundry.PalantirRPCException as e: + print("HTTP error when calling MediaSet.create: %s\n" % e) + +``` + + + +### Authorization + +See [README](../../../README.md#authorization) + +### HTTP response details +| Status Code | Type | Description | Content Type | +|-------------|-------------|-------------|------------------| +**200** | TransactionId | | application/json | + +[[Back to top]](#) [[Back to API list]](../../../README.md#apis-v1-link) [[Back to Model list]](../../../README.md#models-v1-link) [[Back to README]](../../../README.md) + +Gets information about the media item. + +Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-read`. + + +### Parameters + +Name | Type | Description | Notes | +------------- | ------------- | ------------- | ------------- | +**media_set_rid** | MediaSetRid | mediaSetRid | | +**media_item_rid** | MediaItemRid | mediaItemRid | | + +### Return type +**GetMediaItemInfoResponse** + +### Example + +```python +from foundry.v1 import FoundryClient +import foundry +from pprint import pprint + +foundry_client = FoundryClient( + auth=foundry.UserTokenAuth(...), hostname="example.palantirfoundry.com" +) + +# MediaSetRid | mediaSetRid +media_set_rid = None +# MediaItemRid | mediaItemRid +media_item_rid = None + + +try: + api_response = foundry_client.mediasets.MediaSet.info( + media_set_rid, + media_item_rid, + ) + print("The info response:\n") + pprint(api_response) +except foundry.PalantirRPCException as e: + print("HTTP error when calling MediaSet.info: %s\n" % e) + +``` + + + +### Authorization + +See [README](../../../README.md#authorization) + +### HTTP response details +| Status Code | Type | Description | Content Type | +|-------------|-------------|-------------|------------------| +**200** | GetMediaItemInfoResponse | | application/json | + +[[Back to top]](#) [[Back to API list]](../../../README.md#apis-v1-link) [[Back to Model list]](../../../README.md#models-v1-link) [[Back to README]](../../../README.md) + +Gets the content of a media item. + +Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-read`. + + +### Parameters + +Name | Type | Description | Notes | +------------- | ------------- | ------------- | ------------- | +**media_set_rid** | MediaSetRid | mediaSetRid | | +**media_item_rid** | MediaItemRid | mediaItemRid | | + +### Return type +**bytes** + +### Example + +```python +from foundry.v1 import FoundryClient +import foundry +from pprint import pprint + +foundry_client = FoundryClient( + auth=foundry.UserTokenAuth(...), hostname="example.palantirfoundry.com" +) + +# MediaSetRid | mediaSetRid +media_set_rid = None +# MediaItemRid | mediaItemRid +media_item_rid = None + + +try: + api_response = foundry_client.mediasets.MediaSet.read( + media_set_rid, + media_item_rid, + ) + print("The read response:\n") + pprint(api_response) +except foundry.PalantirRPCException as e: + print("HTTP error when calling MediaSet.read: %s\n" % e) + +``` + + + +### Authorization + +See [README](../../../README.md#authorization) + +### HTTP response details +| Status Code | Type | Description | Content Type | +|-------------|-------------|-------------|------------------| +**200** | bytes | The content stream. | */* | + +[[Back to top]](#) [[Back to API list]](../../../README.md#apis-v1-link) [[Back to Model list]](../../../README.md#models-v1-link) [[Back to README]](../../../README.md) + +Gets the [media reference](/docs/foundry/data-integration/media-sets/#media-references) for this media item. + +Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-read`. + + +### Parameters + +Name | Type | Description | Notes | +------------- | ------------- | ------------- | ------------- | +**media_set_rid** | MediaSetRid | mediaSetRid | | +**media_item_rid** | MediaItemRid | mediaItemRid | | + +### Return type +**MediaReference** + +### Example + +```python +from foundry.v1 import FoundryClient +import foundry +from pprint import pprint + +foundry_client = FoundryClient( + auth=foundry.UserTokenAuth(...), hostname="example.palantirfoundry.com" +) + +# MediaSetRid | mediaSetRid +media_set_rid = None +# MediaItemRid | mediaItemRid +media_item_rid = None + + +try: + api_response = foundry_client.mediasets.MediaSet.reference( + media_set_rid, + media_item_rid, + ) + print("The reference response:\n") + pprint(api_response) +except foundry.PalantirRPCException as e: + print("HTTP error when calling MediaSet.reference: %s\n" % e) + +``` + + + +### Authorization + +See [README](../../../README.md#authorization) + +### HTTP response details +| Status Code | Type | Description | Content Type | +|-------------|-------------|-------------|------------------| +**200** | MediaReference | | application/json | + +[[Back to top]](#) [[Back to API list]](../../../README.md#apis-v1-link) [[Back to Model list]](../../../README.md#models-v1-link) [[Back to README]](../../../README.md) + +Uploads a media item to an existing media set. +The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`. +A branch name, or branch rid, or view rid may optionally be specified. If none is specified, the item will be uploaded to the default branch. If more than one is specified, an error is thrown. + +Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-write`. + + +### Parameters + +Name | Type | Description | Notes | +------------- | ------------- | ------------- | ------------- | +**media_set_rid** | MediaSetRid | mediaSetRid | | +**body** | bytes | Body of the request | | +**branch_name** | Optional[BranchName] | branchName | [optional] | +**branch_rid** | Optional[BranchRid] | branchRid | [optional] | +**media_item_path** | Optional[MediaItemPath] | mediaItemPath | [optional] | +**transaction_id** | Optional[TransactionId] | transactionId | [optional] | +**view_rid** | Optional[MediaSetViewRid] | viewRid | [optional] | + +### Return type +**PutMediaItemResponse** + +### Example + +```python +from foundry.v1 import FoundryClient +import foundry +from pprint import pprint + +foundry_client = FoundryClient( + auth=foundry.UserTokenAuth(...), hostname="example.palantirfoundry.com" +) + +# MediaSetRid | mediaSetRid +media_set_rid = None +# bytes | Body of the request +body = None +# Optional[BranchName] | branchName +branch_name = None +# Optional[BranchRid] | branchRid +branch_rid = None +# Optional[MediaItemPath] | mediaItemPath +media_item_path = "q3-data%2fmy-file.png" +# Optional[TransactionId] | transactionId +transaction_id = None +# Optional[MediaSetViewRid] | viewRid +view_rid = None + + +try: + api_response = foundry_client.mediasets.MediaSet.upload( + media_set_rid, + body, + branch_name=branch_name, + branch_rid=branch_rid, + media_item_path=media_item_path, + transaction_id=transaction_id, + view_rid=view_rid, + ) + print("The upload response:\n") + pprint(api_response) +except foundry.PalantirRPCException as e: + print("HTTP error when calling MediaSet.upload: %s\n" % e) + +``` + + + +### Authorization + +See [README](../../../README.md#authorization) + +### HTTP response details +| Status Code | Type | Description | Content Type | +|-------------|-------------|-------------|------------------| +**200** | PutMediaItemResponse | | application/json | + +[[Back to top]](#) [[Back to API list]](../../../README.md#apis-v1-link) [[Back to Model list]](../../../README.md#models-v1-link) [[Back to README]](../../../README.md) + diff --git a/docs/v1/core/models/DecimalType.md b/docs/v1/core/models/DecimalType.md index b50547dc..368b34c0 100644 --- a/docs/v1/core/models/DecimalType.md +++ b/docs/v1/core/models/DecimalType.md @@ -5,8 +5,8 @@ DecimalType ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**precision** | Optional[pydantic.StrictInt] | No | | -**scale** | Optional[pydantic.StrictInt] | No | | +**precision** | Optional[int] | No | | +**scale** | Optional[int] | No | | **type** | Literal["decimal"] | Yes | None | diff --git a/docs/v1/core/models/DecimalTypeDict.md b/docs/v1/core/models/DecimalTypeDict.md index 136a8e61..8abcf035 100644 --- a/docs/v1/core/models/DecimalTypeDict.md +++ b/docs/v1/core/models/DecimalTypeDict.md @@ -5,8 +5,8 @@ DecimalType ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**precision** | NotRequired[pydantic.StrictInt] | No | | -**scale** | NotRequired[pydantic.StrictInt] | No | | +**precision** | NotRequired[int] | No | | +**scale** | NotRequired[int] | No | | **type** | Literal["decimal"] | Yes | None | diff --git a/docs/v1/core/models/DisplayName.md b/docs/v1/core/models/DisplayName.md index 64fd7ea8..c9557a97 100644 --- a/docs/v1/core/models/DisplayName.md +++ b/docs/v1/core/models/DisplayName.md @@ -4,7 +4,7 @@ The display name of the entity. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/core/models/Duration.md b/docs/v1/core/models/Duration.md index 38a8aa46..9a370833 100644 --- a/docs/v1/core/models/Duration.md +++ b/docs/v1/core/models/Duration.md @@ -4,7 +4,7 @@ An ISO 8601 formatted duration. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/core/models/FilePath.md b/docs/v1/core/models/FilePath.md index b2a3bc34..141c8ea8 100644 --- a/docs/v1/core/models/FilePath.md +++ b/docs/v1/core/models/FilePath.md @@ -5,7 +5,7 @@ The path to a File within Foundry. Examples: `my-file.txt`, `path/to/my-file.jpg ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/core/models/MediaItemPath.md b/docs/v1/core/models/MediaItemPath.md new file mode 100644 index 00000000..c6c60654 --- /dev/null +++ b/docs/v1/core/models/MediaItemPath.md @@ -0,0 +1,15 @@ +# MediaItemPath + +A user-specified identifier for a media item within a media set. +Paths must be less than 256 characters long. +If multiple items are written to the same media set at the same path, then when retrieving by path the media +item which was written last is returned. + + +## Type +```python +str +``` + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/core/models/MediaReference.md b/docs/v1/core/models/MediaReference.md new file mode 100644 index 00000000..8b8957eb --- /dev/null +++ b/docs/v1/core/models/MediaReference.md @@ -0,0 +1,12 @@ +# MediaReference + +The representation of a media reference. + +## Properties +| Name | Type | Required | Description | +| ------------ | ------------- | ------------- | ------------- | +**mime_type** | MediaType | Yes | | +**reference** | Reference | Yes | | + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/core/models/MediaReferenceDict.md b/docs/v1/core/models/MediaReferenceDict.md new file mode 100644 index 00000000..12dbfd52 --- /dev/null +++ b/docs/v1/core/models/MediaReferenceDict.md @@ -0,0 +1,12 @@ +# MediaReferenceDict + +The representation of a media reference. + +## Properties +| Name | Type | Required | Description | +| ------------ | ------------- | ------------- | ------------- | +**mimeType** | MediaType | Yes | | +**reference** | ReferenceDict | Yes | | + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/core/models/MediaSetViewItem.md b/docs/v1/core/models/MediaSetViewItem.md new file mode 100644 index 00000000..59d852f1 --- /dev/null +++ b/docs/v1/core/models/MediaSetViewItem.md @@ -0,0 +1,14 @@ +# MediaSetViewItem + +MediaSetViewItem + +## Properties +| Name | Type | Required | Description | +| ------------ | ------------- | ------------- | ------------- | +**media_set_rid** | MediaSetRid | Yes | | +**media_set_view_rid** | MediaSetViewRid | Yes | | +**media_item_rid** | MediaItemRid | Yes | | +**type** | Literal["mediaSetViewItem"] | Yes | None | + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/core/models/MediaSetViewItemDict.md b/docs/v1/core/models/MediaSetViewItemDict.md new file mode 100644 index 00000000..87120fd2 --- /dev/null +++ b/docs/v1/core/models/MediaSetViewItemDict.md @@ -0,0 +1,14 @@ +# MediaSetViewItemDict + +MediaSetViewItem + +## Properties +| Name | Type | Required | Description | +| ------------ | ------------- | ------------- | ------------- | +**mediaSetRid** | MediaSetRid | Yes | | +**mediaSetViewRid** | MediaSetViewRid | Yes | | +**mediaItemRid** | MediaItemRid | Yes | | +**type** | Literal["mediaSetViewItem"] | Yes | None | + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/core/models/MediaSetViewRid.md b/docs/v1/core/models/MediaSetViewRid.md new file mode 100644 index 00000000..67996e48 --- /dev/null +++ b/docs/v1/core/models/MediaSetViewRid.md @@ -0,0 +1,11 @@ +# MediaSetViewRid + +The Resource Identifier (RID) of a single View of a Media Set. A Media Set View is an independent collection of Media Items. + +## Type +```python +RID +``` + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/core/models/MediaType.md b/docs/v1/core/models/MediaType.md new file mode 100644 index 00000000..f84bf242 --- /dev/null +++ b/docs/v1/core/models/MediaType.md @@ -0,0 +1,13 @@ +# MediaType + +The [media type](https://www.iana.org/assignments/media-types/media-types.xhtml) of the file or attachment. +Examples: `application/json`, `application/pdf`, `application/octet-stream`, `image/jpeg` + + +## Type +```python +str +``` + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/core/models/PageSize.md b/docs/v1/core/models/PageSize.md index cb2e8f70..f443d776 100644 --- a/docs/v1/core/models/PageSize.md +++ b/docs/v1/core/models/PageSize.md @@ -4,7 +4,7 @@ The page size to use for the endpoint. ## Type ```python -pydantic.StrictInt +int ``` diff --git a/docs/v1/core/models/PageToken.md b/docs/v1/core/models/PageToken.md index 840bd45a..9e1f1059 100644 --- a/docs/v1/core/models/PageToken.md +++ b/docs/v1/core/models/PageToken.md @@ -7,7 +7,7 @@ and use it to populate the `pageToken` field of the next request. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/core/models/PreviewMode.md b/docs/v1/core/models/PreviewMode.md index 66e55e3a..9b3dcfca 100644 --- a/docs/v1/core/models/PreviewMode.md +++ b/docs/v1/core/models/PreviewMode.md @@ -4,7 +4,7 @@ Enables the use of preview functionality. ## Type ```python -pydantic.StrictBool +bool ``` diff --git a/docs/v1/core/models/Reference.md b/docs/v1/core/models/Reference.md new file mode 100644 index 00000000..ea08e2ee --- /dev/null +++ b/docs/v1/core/models/Reference.md @@ -0,0 +1,12 @@ +# Reference + +A union of the types supported by media reference properties. + + +## Type +```python +MediaSetViewItem +``` + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/core/models/ReferenceDict.md b/docs/v1/core/models/ReferenceDict.md new file mode 100644 index 00000000..5259be0f --- /dev/null +++ b/docs/v1/core/models/ReferenceDict.md @@ -0,0 +1,12 @@ +# ReferenceDict + +A union of the types supported by media reference properties. + + +## Type +```python +MediaSetViewItemDict +``` + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/core/models/StructFieldName.md b/docs/v1/core/models/StructFieldName.md index 305fa985..7d3ea5b6 100644 --- a/docs/v1/core/models/StructFieldName.md +++ b/docs/v1/core/models/StructFieldName.md @@ -5,7 +5,7 @@ The name of a field in a `Struct`. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/core/models/TotalCount.md b/docs/v1/core/models/TotalCount.md index 1348556d..f0ce4a9e 100644 --- a/docs/v1/core/models/TotalCount.md +++ b/docs/v1/core/models/TotalCount.md @@ -5,7 +5,7 @@ The total number of items across all pages. ## Type ```python -pydantic.StrictStr +Long ``` diff --git a/docs/v1/core/models/UnsupportedType.md b/docs/v1/core/models/UnsupportedType.md index fde7af8e..4bcb6a9c 100644 --- a/docs/v1/core/models/UnsupportedType.md +++ b/docs/v1/core/models/UnsupportedType.md @@ -5,7 +5,7 @@ UnsupportedType ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**unsupported_type** | pydantic.StrictStr | Yes | | +**unsupported_type** | str | Yes | | **type** | Literal["unsupported"] | Yes | None | diff --git a/docs/v1/core/models/UnsupportedTypeDict.md b/docs/v1/core/models/UnsupportedTypeDict.md index b0b05763..b7380365 100644 --- a/docs/v1/core/models/UnsupportedTypeDict.md +++ b/docs/v1/core/models/UnsupportedTypeDict.md @@ -5,7 +5,7 @@ UnsupportedType ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**unsupportedType** | pydantic.StrictStr | Yes | | +**unsupportedType** | str | Yes | | **type** | Literal["unsupported"] | Yes | None | diff --git a/docs/v1/core/models/UserId.md b/docs/v1/core/models/UserId.md new file mode 100644 index 00000000..075b5755 --- /dev/null +++ b/docs/v1/core/models/UserId.md @@ -0,0 +1,12 @@ +# UserId + +A Foundry User ID. + + +## Type +```python +UUID +``` + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/datasets/models/BranchId.md b/docs/v1/datasets/models/BranchId.md index 563b7727..597cea5a 100644 --- a/docs/v1/datasets/models/BranchId.md +++ b/docs/v1/datasets/models/BranchId.md @@ -5,7 +5,7 @@ The identifier (name) of a Branch. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/datasets/models/DatasetName.md b/docs/v1/datasets/models/DatasetName.md index 0f48eb7a..02c383c9 100644 --- a/docs/v1/datasets/models/DatasetName.md +++ b/docs/v1/datasets/models/DatasetName.md @@ -4,7 +4,7 @@ DatasetName ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/datasets/models/File.md b/docs/v1/datasets/models/File.md index 19d049ec..85ebf4ed 100644 --- a/docs/v1/datasets/models/File.md +++ b/docs/v1/datasets/models/File.md @@ -7,7 +7,7 @@ File | ------------ | ------------- | ------------- | ------------- | **path** | FilePath | Yes | | **transaction_rid** | TransactionRid | Yes | | -**size_bytes** | Optional[pydantic.StrictStr] | No | | +**size_bytes** | Optional[Long] | No | | **updated_time** | datetime | Yes | | diff --git a/docs/v1/datasets/models/FileDict.md b/docs/v1/datasets/models/FileDict.md index 663e7b73..23adb2be 100644 --- a/docs/v1/datasets/models/FileDict.md +++ b/docs/v1/datasets/models/FileDict.md @@ -7,7 +7,7 @@ File | ------------ | ------------- | ------------- | ------------- | **path** | FilePath | Yes | | **transactionRid** | TransactionRid | Yes | | -**sizeBytes** | NotRequired[pydantic.StrictStr] | No | | +**sizeBytes** | NotRequired[Long] | No | | **updatedTime** | datetime | Yes | | diff --git a/docs/v1/mediasets/models/BranchName.md b/docs/v1/mediasets/models/BranchName.md new file mode 100644 index 00000000..caef88df --- /dev/null +++ b/docs/v1/mediasets/models/BranchName.md @@ -0,0 +1,13 @@ +# BranchName + +A name for a media set branch. Valid branch names must be (a) non-empty, (b) less than 256 characters, and +(c) not a valid ResourceIdentifier. + + +## Type +```python +str +``` + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/mediasets/models/BranchRid.md b/docs/v1/mediasets/models/BranchRid.md new file mode 100644 index 00000000..0446d15e --- /dev/null +++ b/docs/v1/mediasets/models/BranchRid.md @@ -0,0 +1,12 @@ +# BranchRid + +A resource identifier that identifies a branch of a media set. + + +## Type +```python +RID +``` + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/mediasets/models/GetMediaItemInfoResponse.md b/docs/v1/mediasets/models/GetMediaItemInfoResponse.md new file mode 100644 index 00000000..a5e71e36 --- /dev/null +++ b/docs/v1/mediasets/models/GetMediaItemInfoResponse.md @@ -0,0 +1,14 @@ +# GetMediaItemInfoResponse + +GetMediaItemInfoResponse + +## Properties +| Name | Type | Required | Description | +| ------------ | ------------- | ------------- | ------------- | +**view_rid** | MediaSetViewRid | Yes | | +**path** | Optional[MediaItemPath] | No | | +**logical_timestamp** | LogicalTimestamp | Yes | | +**attribution** | Optional[MediaAttribution] | No | | + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/mediasets/models/GetMediaItemInfoResponseDict.md b/docs/v1/mediasets/models/GetMediaItemInfoResponseDict.md new file mode 100644 index 00000000..6d6d4ef3 --- /dev/null +++ b/docs/v1/mediasets/models/GetMediaItemInfoResponseDict.md @@ -0,0 +1,14 @@ +# GetMediaItemInfoResponseDict + +GetMediaItemInfoResponse + +## Properties +| Name | Type | Required | Description | +| ------------ | ------------- | ------------- | ------------- | +**viewRid** | MediaSetViewRid | Yes | | +**path** | NotRequired[MediaItemPath] | No | | +**logicalTimestamp** | LogicalTimestamp | Yes | | +**attribution** | NotRequired[MediaAttributionDict] | No | | + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/mediasets/models/LogicalTimestamp.md b/docs/v1/mediasets/models/LogicalTimestamp.md new file mode 100644 index 00000000..4dc5a879 --- /dev/null +++ b/docs/v1/mediasets/models/LogicalTimestamp.md @@ -0,0 +1,16 @@ +# LogicalTimestamp + +A number representing a logical ordering to be used for transactions, etc. +This can be interpreted as a timestamp in microseconds, but may differ slightly from system clock time due +to clock drift and slight adjustments for the sake of ordering. + +Only positive timestamps (representing times after epoch) are supported. + + +## Type +```python +Long +``` + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/mediasets/models/MediaAttribution.md b/docs/v1/mediasets/models/MediaAttribution.md new file mode 100644 index 00000000..9122f074 --- /dev/null +++ b/docs/v1/mediasets/models/MediaAttribution.md @@ -0,0 +1,12 @@ +# MediaAttribution + +MediaAttribution + +## Properties +| Name | Type | Required | Description | +| ------------ | ------------- | ------------- | ------------- | +**creator_id** | UserId | Yes | | +**creation_timestamp** | datetime | Yes | The timestamp when the media item was created, in ISO 8601 timestamp format. | + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/mediasets/models/MediaAttributionDict.md b/docs/v1/mediasets/models/MediaAttributionDict.md new file mode 100644 index 00000000..3919cf2a --- /dev/null +++ b/docs/v1/mediasets/models/MediaAttributionDict.md @@ -0,0 +1,12 @@ +# MediaAttributionDict + +MediaAttribution + +## Properties +| Name | Type | Required | Description | +| ------------ | ------------- | ------------- | ------------- | +**creatorId** | UserId | Yes | | +**creationTimestamp** | datetime | Yes | The timestamp when the media item was created, in ISO 8601 timestamp format. | + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/mediasets/models/PutMediaItemResponse.md b/docs/v1/mediasets/models/PutMediaItemResponse.md new file mode 100644 index 00000000..03c07d1a --- /dev/null +++ b/docs/v1/mediasets/models/PutMediaItemResponse.md @@ -0,0 +1,11 @@ +# PutMediaItemResponse + +PutMediaItemResponse + +## Properties +| Name | Type | Required | Description | +| ------------ | ------------- | ------------- | ------------- | +**media_item_rid** | MediaItemRid | Yes | | + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/mediasets/models/PutMediaItemResponseDict.md b/docs/v1/mediasets/models/PutMediaItemResponseDict.md new file mode 100644 index 00000000..6fe9826b --- /dev/null +++ b/docs/v1/mediasets/models/PutMediaItemResponseDict.md @@ -0,0 +1,11 @@ +# PutMediaItemResponseDict + +PutMediaItemResponse + +## Properties +| Name | Type | Required | Description | +| ------------ | ------------- | ------------- | ------------- | +**mediaItemRid** | MediaItemRid | Yes | | + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/mediasets/models/TransactionId.md b/docs/v1/mediasets/models/TransactionId.md new file mode 100644 index 00000000..31d0ecc8 --- /dev/null +++ b/docs/v1/mediasets/models/TransactionId.md @@ -0,0 +1,12 @@ +# TransactionId + +An identifier which represents a transaction on a media set. + + +## Type +```python +UUID +``` + + +[[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/ontologies/models/ActionType.md b/docs/v1/ontologies/models/ActionType.md index 428405f6..3e6cc78b 100644 --- a/docs/v1/ontologies/models/ActionType.md +++ b/docs/v1/ontologies/models/ActionType.md @@ -6,7 +6,7 @@ Represents an action type in the Ontology. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **api_name** | ActionTypeApiName | Yes | | -**description** | Optional[pydantic.StrictStr] | No | | +**description** | Optional[str] | No | | **display_name** | Optional[DisplayName] | No | | **status** | ReleaseStatus | Yes | | **parameters** | Dict[ParameterId, Parameter] | Yes | | diff --git a/docs/v1/ontologies/models/ActionTypeApiName.md b/docs/v1/ontologies/models/ActionTypeApiName.md index 616bb7c7..8812f5c4 100644 --- a/docs/v1/ontologies/models/ActionTypeApiName.md +++ b/docs/v1/ontologies/models/ActionTypeApiName.md @@ -6,7 +6,7 @@ endpoint or check the **Ontology Manager**. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/ActionTypeDict.md b/docs/v1/ontologies/models/ActionTypeDict.md index af998f8f..0eac927c 100644 --- a/docs/v1/ontologies/models/ActionTypeDict.md +++ b/docs/v1/ontologies/models/ActionTypeDict.md @@ -6,7 +6,7 @@ Represents an action type in the Ontology. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **apiName** | ActionTypeApiName | Yes | | -**description** | NotRequired[pydantic.StrictStr] | No | | +**description** | NotRequired[str] | No | | **displayName** | NotRequired[DisplayName] | No | | **status** | ReleaseStatus | Yes | | **parameters** | Dict[ParameterId, ParameterDict] | Yes | | diff --git a/docs/v1/ontologies/models/AggregateObjectsResponse.md b/docs/v1/ontologies/models/AggregateObjectsResponse.md index 9c0a36e3..307ab686 100644 --- a/docs/v1/ontologies/models/AggregateObjectsResponse.md +++ b/docs/v1/ontologies/models/AggregateObjectsResponse.md @@ -5,7 +5,7 @@ AggregateObjectsResponse ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**excluded_items** | Optional[pydantic.StrictInt] | No | | +**excluded_items** | Optional[int] | No | | **next_page_token** | Optional[PageToken] | No | | **data** | List[AggregateObjectsResponseItem] | Yes | | diff --git a/docs/v1/ontologies/models/AggregateObjectsResponseDict.md b/docs/v1/ontologies/models/AggregateObjectsResponseDict.md index 7c0548a3..4b6d7b2a 100644 --- a/docs/v1/ontologies/models/AggregateObjectsResponseDict.md +++ b/docs/v1/ontologies/models/AggregateObjectsResponseDict.md @@ -5,7 +5,7 @@ AggregateObjectsResponse ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**excludedItems** | NotRequired[pydantic.StrictInt] | No | | +**excludedItems** | NotRequired[int] | No | | **nextPageToken** | NotRequired[PageToken] | No | | **data** | List[AggregateObjectsResponseItemDict] | Yes | | diff --git a/docs/v1/ontologies/models/AggregationExactGroupingDict.md b/docs/v1/ontologies/models/AggregationExactGroupingDict.md index 1ad60514..20981c12 100644 --- a/docs/v1/ontologies/models/AggregationExactGroupingDict.md +++ b/docs/v1/ontologies/models/AggregationExactGroupingDict.md @@ -6,7 +6,7 @@ Divides objects into groups according to an exact value. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | FieldNameV1 | Yes | | -**maxGroupCount** | NotRequired[pydantic.StrictInt] | No | | +**maxGroupCount** | NotRequired[int] | No | | **type** | Literal["exact"] | Yes | None | diff --git a/docs/v1/ontologies/models/AggregationFixedWidthGroupingDict.md b/docs/v1/ontologies/models/AggregationFixedWidthGroupingDict.md index dbddda56..ad4dadb3 100644 --- a/docs/v1/ontologies/models/AggregationFixedWidthGroupingDict.md +++ b/docs/v1/ontologies/models/AggregationFixedWidthGroupingDict.md @@ -6,7 +6,7 @@ Divides objects into groups with the specified width. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | FieldNameV1 | Yes | | -**fixedWidth** | pydantic.StrictInt | Yes | | +**fixedWidth** | int | Yes | | **type** | Literal["fixedWidth"] | Yes | None | diff --git a/docs/v1/ontologies/models/AggregationGroupKey.md b/docs/v1/ontologies/models/AggregationGroupKey.md index 92e75f60..691aa176 100644 --- a/docs/v1/ontologies/models/AggregationGroupKey.md +++ b/docs/v1/ontologies/models/AggregationGroupKey.md @@ -4,7 +4,7 @@ AggregationGroupKey ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/AggregationMetricName.md b/docs/v1/ontologies/models/AggregationMetricName.md index cf2f3aaf..2d50d56d 100644 --- a/docs/v1/ontologies/models/AggregationMetricName.md +++ b/docs/v1/ontologies/models/AggregationMetricName.md @@ -4,7 +4,7 @@ A user-specified alias for an aggregation metric name. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/AggregationMetricResult.md b/docs/v1/ontologies/models/AggregationMetricResult.md index f0ddd930..796c0ccc 100644 --- a/docs/v1/ontologies/models/AggregationMetricResult.md +++ b/docs/v1/ontologies/models/AggregationMetricResult.md @@ -5,8 +5,8 @@ AggregationMetricResult ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**name** | pydantic.StrictStr | Yes | | -**value** | Optional[pydantic.StrictFloat] | No | TBD | +**name** | str | Yes | | +**value** | Optional[float] | No | TBD | [[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/ontologies/models/AggregationMetricResultDict.md b/docs/v1/ontologies/models/AggregationMetricResultDict.md index 9d47a1ed..1d5d0236 100644 --- a/docs/v1/ontologies/models/AggregationMetricResultDict.md +++ b/docs/v1/ontologies/models/AggregationMetricResultDict.md @@ -5,8 +5,8 @@ AggregationMetricResult ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**name** | pydantic.StrictStr | Yes | | -**value** | NotRequired[pydantic.StrictFloat] | No | TBD | +**name** | str | Yes | | +**value** | NotRequired[float] | No | TBD | [[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/ontologies/models/AllTermsQueryDict.md b/docs/v1/ontologies/models/AllTermsQueryDict.md index ee2e66fa..6d12d69b 100644 --- a/docs/v1/ontologies/models/AllTermsQueryDict.md +++ b/docs/v1/ontologies/models/AllTermsQueryDict.md @@ -8,7 +8,7 @@ order in the provided value. This query supports fuzzy matching. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | FieldNameV1 | Yes | | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | **fuzzy** | NotRequired[Fuzzy] | No | | **type** | Literal["allTerms"] | Yes | None | diff --git a/docs/v1/ontologies/models/AnyTermQueryDict.md b/docs/v1/ontologies/models/AnyTermQueryDict.md index 2b9f7860..1c50e14d 100644 --- a/docs/v1/ontologies/models/AnyTermQueryDict.md +++ b/docs/v1/ontologies/models/AnyTermQueryDict.md @@ -8,7 +8,7 @@ order in the provided value. This query supports fuzzy matching. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | FieldNameV1 | Yes | | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | **fuzzy** | NotRequired[Fuzzy] | No | | **type** | Literal["anyTerm"] | Yes | None | diff --git a/docs/v1/ontologies/models/DerivedPropertyApiName.md b/docs/v1/ontologies/models/DerivedPropertyApiName.md index 85447543..ca774ce4 100644 --- a/docs/v1/ontologies/models/DerivedPropertyApiName.md +++ b/docs/v1/ontologies/models/DerivedPropertyApiName.md @@ -5,7 +5,7 @@ The name of the derived property that will be returned. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/FieldNameV1.md b/docs/v1/ontologies/models/FieldNameV1.md index dd398529..7170b48b 100644 --- a/docs/v1/ontologies/models/FieldNameV1.md +++ b/docs/v1/ontologies/models/FieldNameV1.md @@ -4,7 +4,7 @@ A reference to an Ontology object property with the form `properties.{propertyAp ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/FilterValue.md b/docs/v1/ontologies/models/FilterValue.md index dcaf84dd..6a3d8448 100644 --- a/docs/v1/ontologies/models/FilterValue.md +++ b/docs/v1/ontologies/models/FilterValue.md @@ -6,7 +6,7 @@ Represents the value of a property filter. For instance, false is the FilterValu ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/FunctionVersion.md b/docs/v1/ontologies/models/FunctionVersion.md index 151583a8..92a75593 100644 --- a/docs/v1/ontologies/models/FunctionVersion.md +++ b/docs/v1/ontologies/models/FunctionVersion.md @@ -6,7 +6,7 @@ Examples: `1.2.3`, `1.2.3-rc1`. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/Fuzzy.md b/docs/v1/ontologies/models/Fuzzy.md index eae9f49d..9421fb22 100644 --- a/docs/v1/ontologies/models/Fuzzy.md +++ b/docs/v1/ontologies/models/Fuzzy.md @@ -4,7 +4,7 @@ Setting fuzzy to `true` allows approximate matching in search queries that suppo ## Type ```python -pydantic.StrictBool +bool ``` diff --git a/docs/v1/ontologies/models/InterfaceTypeApiName.md b/docs/v1/ontologies/models/InterfaceTypeApiName.md index f07122b8..38f96bb9 100644 --- a/docs/v1/ontologies/models/InterfaceTypeApiName.md +++ b/docs/v1/ontologies/models/InterfaceTypeApiName.md @@ -6,7 +6,7 @@ type, use the `List interface types` endpoint or check the **Ontology Manager**. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/IsNullQueryDict.md b/docs/v1/ontologies/models/IsNullQueryDict.md index fcb4dd26..86f49769 100644 --- a/docs/v1/ontologies/models/IsNullQueryDict.md +++ b/docs/v1/ontologies/models/IsNullQueryDict.md @@ -6,7 +6,7 @@ Returns objects based on the existence of the specified field. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | FieldNameV1 | Yes | | -**value** | pydantic.StrictBool | Yes | | +**value** | bool | Yes | | **type** | Literal["isNull"] | Yes | None | diff --git a/docs/v1/ontologies/models/LinkTypeApiName.md b/docs/v1/ontologies/models/LinkTypeApiName.md index dec4bd80..f16e4a2c 100644 --- a/docs/v1/ontologies/models/LinkTypeApiName.md +++ b/docs/v1/ontologies/models/LinkTypeApiName.md @@ -6,7 +6,7 @@ application. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/ObjectType.md b/docs/v1/ontologies/models/ObjectType.md index 2f0b4a4c..530e0459 100644 --- a/docs/v1/ontologies/models/ObjectType.md +++ b/docs/v1/ontologies/models/ObjectType.md @@ -8,7 +8,7 @@ Represents an object type in the Ontology. **api_name** | ObjectTypeApiName | Yes | | **display_name** | Optional[DisplayName] | No | | **status** | ReleaseStatus | Yes | | -**description** | Optional[pydantic.StrictStr] | No | The description of the object type. | +**description** | Optional[str] | No | The description of the object type. | **visibility** | Optional[ObjectTypeVisibility] | No | | **primary_key** | List[PropertyApiName] | Yes | The primary key of the object. This is a list of properties that can be used to uniquely identify the object. | **properties** | Dict[PropertyApiName, Property] | Yes | A map of the properties of the object type. | diff --git a/docs/v1/ontologies/models/ObjectTypeApiName.md b/docs/v1/ontologies/models/ObjectTypeApiName.md index 4e3f86c3..6d540a79 100644 --- a/docs/v1/ontologies/models/ObjectTypeApiName.md +++ b/docs/v1/ontologies/models/ObjectTypeApiName.md @@ -6,7 +6,7 @@ The name of the object type in the API in camelCase format. To find the API name ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/ObjectTypeDict.md b/docs/v1/ontologies/models/ObjectTypeDict.md index 3c23332c..ed25aa5f 100644 --- a/docs/v1/ontologies/models/ObjectTypeDict.md +++ b/docs/v1/ontologies/models/ObjectTypeDict.md @@ -8,7 +8,7 @@ Represents an object type in the Ontology. **apiName** | ObjectTypeApiName | Yes | | **displayName** | NotRequired[DisplayName] | No | | **status** | ReleaseStatus | Yes | | -**description** | NotRequired[pydantic.StrictStr] | No | The description of the object type. | +**description** | NotRequired[str] | No | The description of the object type. | **visibility** | NotRequired[ObjectTypeVisibility] | No | | **primaryKey** | List[PropertyApiName] | Yes | The primary key of the object. This is a list of properties that can be used to uniquely identify the object. | **properties** | Dict[PropertyApiName, PropertyDict] | Yes | A map of the properties of the object type. | diff --git a/docs/v1/ontologies/models/OneOfConstraint.md b/docs/v1/ontologies/models/OneOfConstraint.md index 95d14c13..fd59530f 100644 --- a/docs/v1/ontologies/models/OneOfConstraint.md +++ b/docs/v1/ontologies/models/OneOfConstraint.md @@ -7,7 +7,7 @@ The parameter has a manually predefined set of options. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **options** | List[ParameterOption] | Yes | | -**other_values_allowed** | pydantic.StrictBool | Yes | A flag denoting whether custom, user provided values will be considered valid. This is configured via the **Allowed "Other" value** toggle in the **Ontology Manager**. | +**other_values_allowed** | bool | Yes | A flag denoting whether custom, user provided values will be considered valid. This is configured via the **Allowed "Other" value** toggle in the **Ontology Manager**. | **type** | Literal["oneOf"] | Yes | None | diff --git a/docs/v1/ontologies/models/OneOfConstraintDict.md b/docs/v1/ontologies/models/OneOfConstraintDict.md index 2983e5a8..c3061e74 100644 --- a/docs/v1/ontologies/models/OneOfConstraintDict.md +++ b/docs/v1/ontologies/models/OneOfConstraintDict.md @@ -7,7 +7,7 @@ The parameter has a manually predefined set of options. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **options** | List[ParameterOptionDict] | Yes | | -**otherValuesAllowed** | pydantic.StrictBool | Yes | A flag denoting whether custom, user provided values will be considered valid. This is configured via the **Allowed "Other" value** toggle in the **Ontology Manager**. | +**otherValuesAllowed** | bool | Yes | A flag denoting whether custom, user provided values will be considered valid. This is configured via the **Allowed "Other" value** toggle in the **Ontology Manager**. | **type** | Literal["oneOf"] | Yes | None | diff --git a/docs/v1/ontologies/models/Ontology.md b/docs/v1/ontologies/models/Ontology.md index 9ccc8cbf..ce97e4c6 100644 --- a/docs/v1/ontologies/models/Ontology.md +++ b/docs/v1/ontologies/models/Ontology.md @@ -7,7 +7,7 @@ Metadata about an Ontology. | ------------ | ------------- | ------------- | ------------- | **api_name** | OntologyApiName | Yes | | **display_name** | DisplayName | Yes | | -**description** | pydantic.StrictStr | Yes | | +**description** | str | Yes | | **rid** | OntologyRid | Yes | | diff --git a/docs/v1/ontologies/models/OntologyApiName.md b/docs/v1/ontologies/models/OntologyApiName.md index 5a4d54fd..e65cb124 100644 --- a/docs/v1/ontologies/models/OntologyApiName.md +++ b/docs/v1/ontologies/models/OntologyApiName.md @@ -4,7 +4,7 @@ OntologyApiName ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/OntologyDict.md b/docs/v1/ontologies/models/OntologyDict.md index e2356c8a..d2df9b57 100644 --- a/docs/v1/ontologies/models/OntologyDict.md +++ b/docs/v1/ontologies/models/OntologyDict.md @@ -7,7 +7,7 @@ Metadata about an Ontology. | ------------ | ------------- | ------------- | ------------- | **apiName** | OntologyApiName | Yes | | **displayName** | DisplayName | Yes | | -**description** | pydantic.StrictStr | Yes | | +**description** | str | Yes | | **rid** | OntologyRid | Yes | | diff --git a/docs/v1/ontologies/models/OntologyStructField.md b/docs/v1/ontologies/models/OntologyStructField.md index 57b59df5..5abdb4d9 100644 --- a/docs/v1/ontologies/models/OntologyStructField.md +++ b/docs/v1/ontologies/models/OntologyStructField.md @@ -7,7 +7,7 @@ OntologyStructField | ------------ | ------------- | ------------- | ------------- | **name** | StructFieldName | Yes | | **field_type** | OntologyDataType | Yes | | -**required** | pydantic.StrictBool | Yes | | +**required** | bool | Yes | | [[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/ontologies/models/OntologyStructFieldDict.md b/docs/v1/ontologies/models/OntologyStructFieldDict.md index 48385365..8030d6e4 100644 --- a/docs/v1/ontologies/models/OntologyStructFieldDict.md +++ b/docs/v1/ontologies/models/OntologyStructFieldDict.md @@ -7,7 +7,7 @@ OntologyStructField | ------------ | ------------- | ------------- | ------------- | **name** | StructFieldName | Yes | | **fieldType** | OntologyDataTypeDict | Yes | | -**required** | pydantic.StrictBool | Yes | | +**required** | bool | Yes | | [[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/ontologies/models/OrderBy.md b/docs/v1/ontologies/models/OrderBy.md index c0dc1b44..6be4a4a5 100644 --- a/docs/v1/ontologies/models/OrderBy.md +++ b/docs/v1/ontologies/models/OrderBy.md @@ -14,7 +14,7 @@ You may also use the shorthand `p` instead of `properties` such as `orderBy=p.la ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/Parameter.md b/docs/v1/ontologies/models/Parameter.md index 73846b43..e973d013 100644 --- a/docs/v1/ontologies/models/Parameter.md +++ b/docs/v1/ontologies/models/Parameter.md @@ -5,10 +5,10 @@ Details about a parameter of an action or query. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**description** | Optional[pydantic.StrictStr] | No | | +**description** | Optional[str] | No | | **base_type** | ValueType | Yes | | **data_type** | Optional[OntologyDataType] | No | | -**required** | pydantic.StrictBool | Yes | | +**required** | bool | Yes | | [[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/ontologies/models/ParameterDict.md b/docs/v1/ontologies/models/ParameterDict.md index fb7dbd12..d3fccd28 100644 --- a/docs/v1/ontologies/models/ParameterDict.md +++ b/docs/v1/ontologies/models/ParameterDict.md @@ -5,10 +5,10 @@ Details about a parameter of an action or query. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**description** | NotRequired[pydantic.StrictStr] | No | | +**description** | NotRequired[str] | No | | **baseType** | ValueType | Yes | | **dataType** | NotRequired[OntologyDataTypeDict] | No | | -**required** | pydantic.StrictBool | Yes | | +**required** | bool | Yes | | [[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/ontologies/models/ParameterEvaluationResult.md b/docs/v1/ontologies/models/ParameterEvaluationResult.md index 2116f672..2dc2f357 100644 --- a/docs/v1/ontologies/models/ParameterEvaluationResult.md +++ b/docs/v1/ontologies/models/ParameterEvaluationResult.md @@ -7,7 +7,7 @@ Represents the validity of a parameter against the configured constraints. | ------------ | ------------- | ------------- | ------------- | **result** | ValidationResult | Yes | | **evaluated_constraints** | List[ParameterEvaluatedConstraint] | Yes | | -**required** | pydantic.StrictBool | Yes | Represents whether the parameter is a required input to the action. | +**required** | bool | Yes | Represents whether the parameter is a required input to the action. | [[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/ontologies/models/ParameterEvaluationResultDict.md b/docs/v1/ontologies/models/ParameterEvaluationResultDict.md index 753d072f..d01b0a68 100644 --- a/docs/v1/ontologies/models/ParameterEvaluationResultDict.md +++ b/docs/v1/ontologies/models/ParameterEvaluationResultDict.md @@ -7,7 +7,7 @@ Represents the validity of a parameter against the configured constraints. | ------------ | ------------- | ------------- | ------------- | **result** | ValidationResult | Yes | | **evaluatedConstraints** | List[ParameterEvaluatedConstraintDict] | Yes | | -**required** | pydantic.StrictBool | Yes | Represents whether the parameter is a required input to the action. | +**required** | bool | Yes | Represents whether the parameter is a required input to the action. | [[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/ontologies/models/ParameterId.md b/docs/v1/ontologies/models/ParameterId.md index d25eb359..cb0f483b 100644 --- a/docs/v1/ontologies/models/ParameterId.md +++ b/docs/v1/ontologies/models/ParameterId.md @@ -6,7 +6,7 @@ Parameters can be viewed and managed in the **Ontology Manager**. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/PhraseQueryDict.md b/docs/v1/ontologies/models/PhraseQueryDict.md index 5a5bdba6..3af40164 100644 --- a/docs/v1/ontologies/models/PhraseQueryDict.md +++ b/docs/v1/ontologies/models/PhraseQueryDict.md @@ -6,7 +6,7 @@ Returns objects where the specified field contains the provided value as a subst | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | FieldNameV1 | Yes | | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | **type** | Literal["phrase"] | Yes | None | diff --git a/docs/v1/ontologies/models/PrefixQueryDict.md b/docs/v1/ontologies/models/PrefixQueryDict.md index 8d5821e9..61e6a17a 100644 --- a/docs/v1/ontologies/models/PrefixQueryDict.md +++ b/docs/v1/ontologies/models/PrefixQueryDict.md @@ -6,7 +6,7 @@ Returns objects where the specified field starts with the provided value. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | FieldNameV1 | Yes | | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | **type** | Literal["prefix"] | Yes | None | diff --git a/docs/v1/ontologies/models/Property.md b/docs/v1/ontologies/models/Property.md index 9a3e3ac8..caad023c 100644 --- a/docs/v1/ontologies/models/Property.md +++ b/docs/v1/ontologies/models/Property.md @@ -5,7 +5,7 @@ Details about some property of an object. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**description** | Optional[pydantic.StrictStr] | No | | +**description** | Optional[str] | No | | **display_name** | Optional[DisplayName] | No | | **base_type** | ValueType | Yes | | diff --git a/docs/v1/ontologies/models/PropertyApiName.md b/docs/v1/ontologies/models/PropertyApiName.md index c66e20bc..2558e8a7 100644 --- a/docs/v1/ontologies/models/PropertyApiName.md +++ b/docs/v1/ontologies/models/PropertyApiName.md @@ -6,7 +6,7 @@ endpoint or check the **Ontology Manager**. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/PropertyDict.md b/docs/v1/ontologies/models/PropertyDict.md index 4537189e..332a9798 100644 --- a/docs/v1/ontologies/models/PropertyDict.md +++ b/docs/v1/ontologies/models/PropertyDict.md @@ -5,7 +5,7 @@ Details about some property of an object. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**description** | NotRequired[pydantic.StrictStr] | No | | +**description** | NotRequired[str] | No | | **displayName** | NotRequired[DisplayName] | No | | **baseType** | ValueType | Yes | | diff --git a/docs/v1/ontologies/models/PropertyFilter.md b/docs/v1/ontologies/models/PropertyFilter.md index fb9320a5..45b0f048 100644 --- a/docs/v1/ontologies/models/PropertyFilter.md +++ b/docs/v1/ontologies/models/PropertyFilter.md @@ -29,7 +29,7 @@ The following are a list of supported property filters: ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/PropertyId.md b/docs/v1/ontologies/models/PropertyId.md index 7d25dc24..58250961 100644 --- a/docs/v1/ontologies/models/PropertyId.md +++ b/docs/v1/ontologies/models/PropertyId.md @@ -6,7 +6,7 @@ application and assign them API names. In every other case, API names should be ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/PropertyValueEscapedString.md b/docs/v1/ontologies/models/PropertyValueEscapedString.md index 37745d17..ce51cd89 100644 --- a/docs/v1/ontologies/models/PropertyValueEscapedString.md +++ b/docs/v1/ontologies/models/PropertyValueEscapedString.md @@ -4,7 +4,7 @@ Represents the value of a property in string format. This is used in URL paramet ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/QueryApiName.md b/docs/v1/ontologies/models/QueryApiName.md index f0b150fb..c6578ab7 100644 --- a/docs/v1/ontologies/models/QueryApiName.md +++ b/docs/v1/ontologies/models/QueryApiName.md @@ -5,7 +5,7 @@ The name of the Query in the API. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/QueryRuntimeErrorParameter.md b/docs/v1/ontologies/models/QueryRuntimeErrorParameter.md index 240394e8..0cb6c16c 100644 --- a/docs/v1/ontologies/models/QueryRuntimeErrorParameter.md +++ b/docs/v1/ontologies/models/QueryRuntimeErrorParameter.md @@ -4,7 +4,7 @@ QueryRuntimeErrorParameter ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/QueryType.md b/docs/v1/ontologies/models/QueryType.md index 516c6567..ffd09a14 100644 --- a/docs/v1/ontologies/models/QueryType.md +++ b/docs/v1/ontologies/models/QueryType.md @@ -6,7 +6,7 @@ Represents a query type in the Ontology. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **api_name** | QueryApiName | Yes | | -**description** | Optional[pydantic.StrictStr] | No | | +**description** | Optional[str] | No | | **display_name** | Optional[DisplayName] | No | | **parameters** | Dict[ParameterId, Parameter] | Yes | | **output** | Optional[OntologyDataType] | No | | diff --git a/docs/v1/ontologies/models/QueryTypeDict.md b/docs/v1/ontologies/models/QueryTypeDict.md index 091d7e01..3fb0e8cd 100644 --- a/docs/v1/ontologies/models/QueryTypeDict.md +++ b/docs/v1/ontologies/models/QueryTypeDict.md @@ -6,7 +6,7 @@ Represents a query type in the Ontology. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **apiName** | QueryApiName | Yes | | -**description** | NotRequired[pydantic.StrictStr] | No | | +**description** | NotRequired[str] | No | | **displayName** | NotRequired[DisplayName] | No | | **parameters** | Dict[ParameterId, ParameterDict] | Yes | | **output** | NotRequired[OntologyDataTypeDict] | No | | diff --git a/docs/v1/ontologies/models/SdkPackageName.md b/docs/v1/ontologies/models/SdkPackageName.md index 6a01b3d0..8d32c603 100644 --- a/docs/v1/ontologies/models/SdkPackageName.md +++ b/docs/v1/ontologies/models/SdkPackageName.md @@ -4,7 +4,7 @@ SdkPackageName ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/SearchOrderingDict.md b/docs/v1/ontologies/models/SearchOrderingDict.md index 67d70044..8fc1979f 100644 --- a/docs/v1/ontologies/models/SearchOrderingDict.md +++ b/docs/v1/ontologies/models/SearchOrderingDict.md @@ -6,7 +6,7 @@ SearchOrdering | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | FieldNameV1 | Yes | | -**direction** | NotRequired[pydantic.StrictStr] | No | Specifies the ordering direction (can be either `asc` or `desc`) | +**direction** | NotRequired[str] | No | Specifies the ordering direction (can be either `asc` or `desc`) | [[Back to Model list]](../../../../README.md#models-v1-link) [[Back to API list]](../../../../README.md#apis-v1-link) [[Back to README]](../../../../README.md) diff --git a/docs/v1/ontologies/models/SelectedPropertyApiName.md b/docs/v1/ontologies/models/SelectedPropertyApiName.md index f162f6df..9fe032de 100644 --- a/docs/v1/ontologies/models/SelectedPropertyApiName.md +++ b/docs/v1/ontologies/models/SelectedPropertyApiName.md @@ -19,7 +19,7 @@ To find the API name for your property, use the `Get object type` endpoint or ch ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/SharedPropertyTypeApiName.md b/docs/v1/ontologies/models/SharedPropertyTypeApiName.md index b0efe3ed..b783312c 100644 --- a/docs/v1/ontologies/models/SharedPropertyTypeApiName.md +++ b/docs/v1/ontologies/models/SharedPropertyTypeApiName.md @@ -6,7 +6,7 @@ shared property type, use the `List shared property types` endpoint or check the ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v1/ontologies/models/StringRegexMatchConstraint.md b/docs/v1/ontologies/models/StringRegexMatchConstraint.md index bbf08e9a..ca80aaa3 100644 --- a/docs/v1/ontologies/models/StringRegexMatchConstraint.md +++ b/docs/v1/ontologies/models/StringRegexMatchConstraint.md @@ -6,8 +6,8 @@ The parameter value must match a predefined regular expression. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**regex** | pydantic.StrictStr | Yes | The regular expression configured in the **Ontology Manager**. | -**configured_failure_message** | Optional[pydantic.StrictStr] | No | The message indicating that the regular expression was not matched. This is configured per parameter in the **Ontology Manager**. | +**regex** | str | Yes | The regular expression configured in the **Ontology Manager**. | +**configured_failure_message** | Optional[str] | No | The message indicating that the regular expression was not matched. This is configured per parameter in the **Ontology Manager**. | **type** | Literal["stringRegexMatch"] | Yes | None | diff --git a/docs/v1/ontologies/models/StringRegexMatchConstraintDict.md b/docs/v1/ontologies/models/StringRegexMatchConstraintDict.md index 1b24f078..d402fd77 100644 --- a/docs/v1/ontologies/models/StringRegexMatchConstraintDict.md +++ b/docs/v1/ontologies/models/StringRegexMatchConstraintDict.md @@ -6,8 +6,8 @@ The parameter value must match a predefined regular expression. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**regex** | pydantic.StrictStr | Yes | The regular expression configured in the **Ontology Manager**. | -**configuredFailureMessage** | NotRequired[pydantic.StrictStr] | No | The message indicating that the regular expression was not matched. This is configured per parameter in the **Ontology Manager**. | +**regex** | str | Yes | The regular expression configured in the **Ontology Manager**. | +**configuredFailureMessage** | NotRequired[str] | No | The message indicating that the regular expression was not matched. This is configured per parameter in the **Ontology Manager**. | **type** | Literal["stringRegexMatch"] | Yes | None | diff --git a/docs/v1/ontologies/models/SubmissionCriteriaEvaluation.md b/docs/v1/ontologies/models/SubmissionCriteriaEvaluation.md index 8e56daf5..b3b47b61 100644 --- a/docs/v1/ontologies/models/SubmissionCriteriaEvaluation.md +++ b/docs/v1/ontologies/models/SubmissionCriteriaEvaluation.md @@ -8,7 +8,7 @@ These are configured in the **Ontology Manager**. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**configured_failure_message** | Optional[pydantic.StrictStr] | No | The message indicating one of the **submission criteria** was not satisfied. This is configured per **submission criteria** in the **Ontology Manager**. | +**configured_failure_message** | Optional[str] | No | The message indicating one of the **submission criteria** was not satisfied. This is configured per **submission criteria** in the **Ontology Manager**. | **result** | ValidationResult | Yes | | diff --git a/docs/v1/ontologies/models/SubmissionCriteriaEvaluationDict.md b/docs/v1/ontologies/models/SubmissionCriteriaEvaluationDict.md index e80c3a21..fd0ea36e 100644 --- a/docs/v1/ontologies/models/SubmissionCriteriaEvaluationDict.md +++ b/docs/v1/ontologies/models/SubmissionCriteriaEvaluationDict.md @@ -8,7 +8,7 @@ These are configured in the **Ontology Manager**. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**configuredFailureMessage** | NotRequired[pydantic.StrictStr] | No | The message indicating one of the **submission criteria** was not satisfied. This is configured per **submission criteria** in the **Ontology Manager**. | +**configuredFailureMessage** | NotRequired[str] | No | The message indicating one of the **submission criteria** was not satisfied. This is configured per **submission criteria** in the **Ontology Manager**. | **result** | ValidationResult | Yes | | diff --git a/docs/v1/ontologies/models/ValueType.md b/docs/v1/ontologies/models/ValueType.md index 0d26451a..76a75459 100644 --- a/docs/v1/ontologies/models/ValueType.md +++ b/docs/v1/ontologies/models/ValueType.md @@ -27,7 +27,7 @@ structs. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/Admin/Group.md b/docs/v2/Admin/Group.md index b3ee2113..1b6c9a09 100644 --- a/docs/v2/Admin/Group.md +++ b/docs/v2/Admin/Group.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes | **attributes** | Dict[AttributeName, AttributeValues] | A map of the Group's attributes. Attributes prefixed with "multipass:" are reserved for internal use by Foundry and are subject to change. | | **name** | GroupName | The name of the Group. | | **organizations** | List[OrganizationRid] | The RIDs of the Organizations whose members can see this group. At least one Organization RID must be listed. | | -**description** | Optional[pydantic.StrictStr] | A description of the Group. | [optional] | +**description** | Optional[str] | A description of the Group. | [optional] | ### Return type **Group** @@ -52,7 +52,7 @@ attributes = { name = "Data Source Admins" # List[OrganizationRid] | The RIDs of the Organizations whose members can see this group. At least one Organization RID must be listed. organizations = ["ri.multipass..organization.c30ee6ad-b5e4-4afe-a74f-fe4a289f2faa"] -# Optional[pydantic.StrictStr] | A description of the Group. +# Optional[str] | A description of the Group. description = "Create and modify data sources in the platform" diff --git a/docs/v2/Admin/GroupMember.md b/docs/v2/Admin/GroupMember.md index b038d426..1c384f64 100644 --- a/docs/v2/Admin/GroupMember.md +++ b/docs/v2/Admin/GroupMember.md @@ -83,7 +83,7 @@ Name | Type | Description | Notes | **group_id** | PrincipalId | groupId | | **page_size** | Optional[PageSize] | pageSize | [optional] | **page_token** | Optional[PageToken] | pageToken | [optional] | -**transitive** | Optional[pydantic.StrictBool] | transitive | [optional] | +**transitive** | Optional[bool] | transitive | [optional] | ### Return type **ResourceIterator[GroupMember]** @@ -105,7 +105,7 @@ group_id = None page_size = None # Optional[PageToken] | pageToken page_token = None -# Optional[pydantic.StrictBool] | transitive +# Optional[bool] | transitive transitive = None @@ -152,7 +152,7 @@ Name | Type | Description | Notes | **group_id** | PrincipalId | groupId | | **page_size** | Optional[PageSize] | pageSize | [optional] | **page_token** | Optional[PageToken] | pageToken | [optional] | -**transitive** | Optional[pydantic.StrictBool] | transitive | [optional] | +**transitive** | Optional[bool] | transitive | [optional] | ### Return type **ListGroupMembersResponse** @@ -174,7 +174,7 @@ group_id = None page_size = None # Optional[PageToken] | pageToken page_token = None -# Optional[pydantic.StrictBool] | transitive +# Optional[bool] | transitive transitive = None diff --git a/docs/v2/Admin/GroupMembership.md b/docs/v2/Admin/GroupMembership.md index f5702890..8385692b 100644 --- a/docs/v2/Admin/GroupMembership.md +++ b/docs/v2/Admin/GroupMembership.md @@ -22,7 +22,7 @@ Name | Type | Description | Notes | **user_id** | PrincipalId | userId | | **page_size** | Optional[PageSize] | pageSize | [optional] | **page_token** | Optional[PageToken] | pageToken | [optional] | -**transitive** | Optional[pydantic.StrictBool] | transitive | [optional] | +**transitive** | Optional[bool] | transitive | [optional] | ### Return type **ResourceIterator[GroupMembership]** @@ -44,7 +44,7 @@ user_id = None page_size = None # Optional[PageToken] | pageToken page_token = None -# Optional[pydantic.StrictBool] | transitive +# Optional[bool] | transitive transitive = None @@ -91,7 +91,7 @@ Name | Type | Description | Notes | **user_id** | PrincipalId | userId | | **page_size** | Optional[PageSize] | pageSize | [optional] | **page_token** | Optional[PageToken] | pageToken | [optional] | -**transitive** | Optional[pydantic.StrictBool] | transitive | [optional] | +**transitive** | Optional[bool] | transitive | [optional] | ### Return type **ListGroupMembershipsResponse** @@ -113,7 +113,7 @@ user_id = None page_size = None # Optional[PageToken] | pageToken page_token = None -# Optional[pydantic.StrictBool] | transitive +# Optional[bool] | transitive transitive = None diff --git a/docs/v2/Admin/MarkingMember.md b/docs/v2/Admin/MarkingMember.md index b920a906..d7496f66 100644 --- a/docs/v2/Admin/MarkingMember.md +++ b/docs/v2/Admin/MarkingMember.md @@ -79,7 +79,7 @@ Name | Type | Description | Notes | **page_size** | Optional[PageSize] | pageSize | [optional] | **page_token** | Optional[PageToken] | pageToken | [optional] | **preview** | Optional[PreviewMode] | preview | [optional] | -**transitive** | Optional[pydantic.StrictBool] | transitive | [optional] | +**transitive** | Optional[bool] | transitive | [optional] | ### Return type **ResourceIterator[MarkingMember]** @@ -103,7 +103,7 @@ page_size = None page_token = None # Optional[PreviewMode] | preview preview = None -# Optional[pydantic.StrictBool] | transitive +# Optional[bool] | transitive transitive = None @@ -147,7 +147,7 @@ Name | Type | Description | Notes | **page_size** | Optional[PageSize] | pageSize | [optional] | **page_token** | Optional[PageToken] | pageToken | [optional] | **preview** | Optional[PreviewMode] | preview | [optional] | -**transitive** | Optional[pydantic.StrictBool] | transitive | [optional] | +**transitive** | Optional[bool] | transitive | [optional] | ### Return type **ListMarkingMembersResponse** @@ -171,7 +171,7 @@ page_size = None page_token = None # Optional[PreviewMode] | preview preview = None -# Optional[pydantic.StrictBool] | transitive +# Optional[bool] | transitive transitive = None diff --git a/docs/v2/Connectivity/FileImport.md b/docs/v2/Connectivity/FileImport.md index d7504b85..4dc366c8 100644 --- a/docs/v2/Connectivity/FileImport.md +++ b/docs/v2/Connectivity/FileImport.md @@ -23,7 +23,7 @@ Name | Type | Description | Notes | **import_mode** | FileImportMode | | | **branch_name** | Optional[BranchName] | The branch name in the output dataset that will contain the imported data. Defaults to `master` for most enrollments. | [optional] | **preview** | Optional[PreviewMode] | preview | [optional] | -**subfolder** | Optional[pydantic.StrictStr] | A subfolder in the external system that will be imported. If not specified, defaults to the root folder of the external system. | [optional] | +**subfolder** | Optional[str] | A subfolder in the external system that will be imported. If not specified, defaults to the root folder of the external system. | [optional] | ### Return type **FileImport** @@ -53,7 +53,7 @@ import_mode = "SNAPSHOT" branch_name = "master" # Optional[PreviewMode] | preview preview = None -# Optional[pydantic.StrictStr] | A subfolder in the external system that will be imported. If not specified, defaults to the root folder of the external system. +# Optional[str] | A subfolder in the external system that will be imported. If not specified, defaults to the root folder of the external system. subfolder = "subfolder1/subfolder2" @@ -413,7 +413,7 @@ Name | Type | Description | Notes | **import_mode** | FileImportMode | | | **branch_name** | Optional[BranchName] | The branch name in the output dataset that will contain the imported data. Defaults to `master` for most enrollments. | [optional] | **preview** | Optional[PreviewMode] | preview | [optional] | -**subfolder** | Optional[pydantic.StrictStr] | A subfolder in the external system that will be imported. If not specified, defaults to the root folder of the external system. | [optional] | +**subfolder** | Optional[str] | A subfolder in the external system that will be imported. If not specified, defaults to the root folder of the external system. | [optional] | ### Return type **FileImport** @@ -445,7 +445,7 @@ import_mode = "SNAPSHOT" branch_name = "master" # Optional[PreviewMode] | preview preview = None -# Optional[pydantic.StrictStr] | A subfolder in the external system that will be imported. If not specified, defaults to the root folder of the external system. +# Optional[str] | A subfolder in the external system that will be imported. If not specified, defaults to the root folder of the external system. subfolder = "subfolder1/subfolder2" diff --git a/docs/v2/Datasets/Dataset.md b/docs/v2/Datasets/Dataset.md index 11e1ab3d..68b7d2f8 100644 --- a/docs/v2/Datasets/Dataset.md +++ b/docs/v2/Datasets/Dataset.md @@ -126,9 +126,9 @@ Name | Type | Description | Notes | **dataset_rid** | DatasetRid | datasetRid | | **format** | TableExportFormat | format | | **branch_name** | Optional[BranchName] | branchName | [optional] | -**columns** | Optional[List[pydantic.StrictStr]] | columns | [optional] | +**columns** | Optional[List[str]] | columns | [optional] | **end_transaction_rid** | Optional[TransactionRid] | endTransactionRid | [optional] | -**row_limit** | Optional[pydantic.StrictInt] | rowLimit | [optional] | +**row_limit** | Optional[int] | rowLimit | [optional] | **start_transaction_rid** | Optional[TransactionRid] | startTransactionRid | [optional] | ### Return type @@ -151,11 +151,11 @@ dataset_rid = None format = None # Optional[BranchName] | branchName branch_name = None -# Optional[List[pydantic.StrictStr]] | columns +# Optional[List[str]] | columns columns = ["id", "firstName", "lastName"] # Optional[TransactionRid] | endTransactionRid end_transaction_rid = None -# Optional[pydantic.StrictInt] | rowLimit +# Optional[int] | rowLimit row_limit = None # Optional[TransactionRid] | startTransactionRid start_transaction_rid = None diff --git a/docs/v2/OntologiesV2/LinkedObjectV2.md b/docs/v2/OntologiesV2/LinkedObjectV2.md index 59cc9c90..895f7591 100644 --- a/docs/v2/OntologiesV2/LinkedObjectV2.md +++ b/docs/v2/OntologiesV2/LinkedObjectV2.md @@ -24,7 +24,7 @@ Name | Type | Description | Notes | **link_type** | LinkTypeApiName | linkType | | **linked_object_primary_key** | PropertyValueEscapedString | linkedObjectPrimaryKey | | **artifact_repository** | Optional[ArtifactRepositoryRid] | artifactRepository | [optional] | -**exclude_rid** | Optional[pydantic.StrictBool] | excludeRid | [optional] | +**exclude_rid** | Optional[bool] | excludeRid | [optional] | **package_name** | Optional[SdkPackageName] | packageName | [optional] | **select** | Optional[List[SelectedPropertyApiName]] | select | [optional] | @@ -54,7 +54,7 @@ link_type = "directReport" linked_object_primary_key = 80060 # Optional[ArtifactRepositoryRid] | artifactRepository artifact_repository = None -# Optional[pydantic.StrictBool] | excludeRid +# Optional[bool] | excludeRid exclude_rid = None # Optional[SdkPackageName] | packageName package_name = None @@ -121,7 +121,7 @@ Name | Type | Description | Notes | **primary_key** | PropertyValueEscapedString | primaryKey | | **link_type** | LinkTypeApiName | linkType | | **artifact_repository** | Optional[ArtifactRepositoryRid] | artifactRepository | [optional] | -**exclude_rid** | Optional[pydantic.StrictBool] | excludeRid | [optional] | +**exclude_rid** | Optional[bool] | excludeRid | [optional] | **order_by** | Optional[OrderBy] | orderBy | [optional] | **package_name** | Optional[SdkPackageName] | packageName | [optional] | **page_size** | Optional[PageSize] | pageSize | [optional] | @@ -152,7 +152,7 @@ primary_key = 50030 link_type = "directReport" # Optional[ArtifactRepositoryRid] | artifactRepository artifact_repository = None -# Optional[pydantic.StrictBool] | excludeRid +# Optional[bool] | excludeRid exclude_rid = None # Optional[OrderBy] | orderBy order_by = None @@ -226,7 +226,7 @@ Name | Type | Description | Notes | **primary_key** | PropertyValueEscapedString | primaryKey | | **link_type** | LinkTypeApiName | linkType | | **artifact_repository** | Optional[ArtifactRepositoryRid] | artifactRepository | [optional] | -**exclude_rid** | Optional[pydantic.StrictBool] | excludeRid | [optional] | +**exclude_rid** | Optional[bool] | excludeRid | [optional] | **order_by** | Optional[OrderBy] | orderBy | [optional] | **package_name** | Optional[SdkPackageName] | packageName | [optional] | **page_size** | Optional[PageSize] | pageSize | [optional] | @@ -257,7 +257,7 @@ primary_key = 50030 link_type = "directReport" # Optional[ArtifactRepositoryRid] | artifactRepository artifact_repository = None -# Optional[pydantic.StrictBool] | excludeRid +# Optional[bool] | excludeRid exclude_rid = None # Optional[OrderBy] | orderBy order_by = None diff --git a/docs/v2/OntologiesV2/OntologyObjectSet.md b/docs/v2/OntologiesV2/OntologyObjectSet.md index 930c7293..c1fb346a 100644 --- a/docs/v2/OntologiesV2/OntologyObjectSet.md +++ b/docs/v2/OntologiesV2/OntologyObjectSet.md @@ -217,7 +217,7 @@ Name | Type | Description | Notes | **object_set** | ObjectSetDict | | | **select** | List[SelectedPropertyApiName] | | | **artifact_repository** | Optional[ArtifactRepositoryRid] | artifactRepository | [optional] | -**exclude_rid** | Optional[pydantic.StrictBool] | A flag to exclude the retrieval of the `__rid` property. Setting this to true may improve performance of this endpoint for object types in OSV2. | [optional] | +**exclude_rid** | Optional[bool] | A flag to exclude the retrieval of the `__rid` property. Setting this to true may improve performance of this endpoint for object types in OSV2. | [optional] | **order_by** | Optional[SearchOrderByV2Dict] | | [optional] | **package_name** | Optional[SdkPackageName] | packageName | [optional] | **page_size** | Optional[PageSize] | | [optional] | @@ -245,7 +245,7 @@ object_set = {"type": "base", "objectType": "Employee"} select = None # Optional[ArtifactRepositoryRid] | artifactRepository artifact_repository = None -# Optional[pydantic.StrictBool] | A flag to exclude the retrieval of the `__rid` property. Setting this to true may improve performance of this endpoint for object types in OSV2. +# Optional[bool] | A flag to exclude the retrieval of the `__rid` property. Setting this to true may improve performance of this endpoint for object types in OSV2. exclude_rid = None # Optional[SearchOrderByV2Dict] | order_by = None diff --git a/docs/v2/OntologiesV2/OntologyObjectV2.md b/docs/v2/OntologiesV2/OntologyObjectV2.md index 960b372b..3f9e5a84 100644 --- a/docs/v2/OntologiesV2/OntologyObjectV2.md +++ b/docs/v2/OntologiesV2/OntologyObjectV2.md @@ -179,7 +179,7 @@ Name | Type | Description | Notes | **object_type** | ObjectTypeApiName | objectType | | **primary_key** | PropertyValueEscapedString | primaryKey | | **artifact_repository** | Optional[ArtifactRepositoryRid] | artifactRepository | [optional] | -**exclude_rid** | Optional[pydantic.StrictBool] | excludeRid | [optional] | +**exclude_rid** | Optional[bool] | excludeRid | [optional] | **package_name** | Optional[SdkPackageName] | packageName | [optional] | **select** | Optional[List[SelectedPropertyApiName]] | select | [optional] | @@ -205,7 +205,7 @@ object_type = "employee" primary_key = 50030 # Optional[ArtifactRepositoryRid] | artifactRepository artifact_repository = None -# Optional[pydantic.StrictBool] | excludeRid +# Optional[bool] | excludeRid exclude_rid = None # Optional[SdkPackageName] | packageName package_name = None @@ -268,7 +268,7 @@ Name | Type | Description | Notes | **ontology** | OntologyIdentifier | ontology | | **object_type** | ObjectTypeApiName | objectType | | **artifact_repository** | Optional[ArtifactRepositoryRid] | artifactRepository | [optional] | -**exclude_rid** | Optional[pydantic.StrictBool] | excludeRid | [optional] | +**exclude_rid** | Optional[bool] | excludeRid | [optional] | **order_by** | Optional[OrderBy] | orderBy | [optional] | **package_name** | Optional[SdkPackageName] | packageName | [optional] | **page_size** | Optional[PageSize] | pageSize | [optional] | @@ -295,7 +295,7 @@ ontology = "palantir" object_type = "employee" # Optional[ArtifactRepositoryRid] | artifactRepository artifact_repository = None -# Optional[pydantic.StrictBool] | excludeRid +# Optional[bool] | excludeRid exclude_rid = None # Optional[OrderBy] | orderBy order_by = None @@ -365,7 +365,7 @@ Name | Type | Description | Notes | **ontology** | OntologyIdentifier | ontology | | **object_type** | ObjectTypeApiName | objectType | | **artifact_repository** | Optional[ArtifactRepositoryRid] | artifactRepository | [optional] | -**exclude_rid** | Optional[pydantic.StrictBool] | excludeRid | [optional] | +**exclude_rid** | Optional[bool] | excludeRid | [optional] | **order_by** | Optional[OrderBy] | orderBy | [optional] | **package_name** | Optional[SdkPackageName] | packageName | [optional] | **page_size** | Optional[PageSize] | pageSize | [optional] | @@ -392,7 +392,7 @@ ontology = "palantir" object_type = "employee" # Optional[ArtifactRepositoryRid] | artifactRepository artifact_repository = None -# Optional[pydantic.StrictBool] | excludeRid +# Optional[bool] | excludeRid exclude_rid = None # Optional[OrderBy] | orderBy order_by = None @@ -474,7 +474,7 @@ Name | Type | Description | Notes | **object_type** | ObjectTypeApiName | objectType | | **select** | List[PropertyApiName] | The API names of the object type properties to include in the response. | | **artifact_repository** | Optional[ArtifactRepositoryRid] | artifactRepository | [optional] | -**exclude_rid** | Optional[pydantic.StrictBool] | A flag to exclude the retrieval of the `__rid` property. Setting this to true may improve performance of this endpoint for object types in OSV2. | [optional] | +**exclude_rid** | Optional[bool] | A flag to exclude the retrieval of the `__rid` property. Setting this to true may improve performance of this endpoint for object types in OSV2. | [optional] | **order_by** | Optional[SearchOrderByV2Dict] | | [optional] | **package_name** | Optional[SdkPackageName] | packageName | [optional] | **page_size** | Optional[PageSize] | | [optional] | @@ -503,7 +503,7 @@ object_type = "employee" select = None # Optional[ArtifactRepositoryRid] | artifactRepository artifact_repository = None -# Optional[pydantic.StrictBool] | A flag to exclude the retrieval of the `__rid` property. Setting this to true may improve performance of this endpoint for object types in OSV2. +# Optional[bool] | A flag to exclude the retrieval of the `__rid` property. Setting this to true may improve performance of this endpoint for object types in OSV2. exclude_rid = None # Optional[SearchOrderByV2Dict] | order_by = None diff --git a/docs/v2/Orchestration/Schedule.md b/docs/v2/Orchestration/Schedule.md index 61b6d687..9a620cf7 100644 --- a/docs/v2/Orchestration/Schedule.md +++ b/docs/v2/Orchestration/Schedule.md @@ -20,8 +20,8 @@ Creates a new Schedule. Name | Type | Description | Notes | ------------- | ------------- | ------------- | ------------- | **action** | CreateScheduleRequestActionDict | | | -**description** | Optional[pydantic.StrictStr] | | [optional] | -**display_name** | Optional[pydantic.StrictStr] | | [optional] | +**description** | Optional[str] | | [optional] | +**display_name** | Optional[str] | | [optional] | **preview** | Optional[PreviewMode] | preview | [optional] | **scope_mode** | Optional[CreateScheduleRequestScopeModeDict] | | [optional] | **trigger** | Optional[TriggerDict] | The schedule trigger. If the requesting user does not have permission to see the trigger, this will be empty. | [optional] | @@ -57,9 +57,9 @@ action = { ], }, } -# Optional[pydantic.StrictStr] | +# Optional[str] | description = "Run all the transforms at midnight" -# Optional[pydantic.StrictStr] | +# Optional[str] | display_name = "My Daily Schedule" # Optional[PreviewMode] | preview preview = None @@ -272,8 +272,8 @@ Name | Type | Description | Notes | ------------- | ------------- | ------------- | ------------- | **schedule_rid** | ScheduleRid | scheduleRid | | **action** | ReplaceScheduleRequestActionDict | | | -**description** | Optional[pydantic.StrictStr] | | [optional] | -**display_name** | Optional[pydantic.StrictStr] | | [optional] | +**description** | Optional[str] | | [optional] | +**display_name** | Optional[str] | | [optional] | **preview** | Optional[PreviewMode] | preview | [optional] | **scope_mode** | Optional[ReplaceScheduleRequestScopeModeDict] | | [optional] | **trigger** | Optional[TriggerDict] | The schedule trigger. If the requesting user does not have permission to see the trigger, this will be empty. | [optional] | @@ -311,9 +311,9 @@ action = { ], }, } -# Optional[pydantic.StrictStr] | +# Optional[str] | description = "Run all the transforms at midnight" -# Optional[pydantic.StrictStr] | +# Optional[str] | display_name = "My Daily Schedule" # Optional[PreviewMode] | preview preview = None diff --git a/docs/v2/ThirdPartyApplications/Version.md b/docs/v2/ThirdPartyApplications/Version.md index fbce4103..5dd827b8 100644 --- a/docs/v2/ThirdPartyApplications/Version.md +++ b/docs/v2/ThirdPartyApplications/Version.md @@ -329,7 +329,7 @@ Name | Type | Description | Notes | **body** | bytes | The zip file that contains the contents of your application. For more information, refer to the [documentation](/docs/foundry/ontology-sdk/deploy-osdk-application-on-foundry/) user documentation. | | **version** | VersionVersion | version | | **preview** | Optional[PreviewMode] | preview | [optional] | -**snapshot_identifier** | Optional[pydantic.StrictStr] | snapshotIdentifier | [optional] | +**snapshot_identifier** | Optional[str] | snapshotIdentifier | [optional] | ### Return type **Version** @@ -355,7 +355,7 @@ body = None version = None # Optional[PreviewMode] | preview preview = None -# Optional[pydantic.StrictStr] | snapshotIdentifier +# Optional[str] | snapshotIdentifier snapshot_identifier = ( "foundry.v1@ri.stemma.main.repository.a@ri.pull-request.main.pull-request.a@hash" ) diff --git a/docs/v2/admin/models/AttributeName.md b/docs/v2/admin/models/AttributeName.md index 9ea54db0..e7f09833 100644 --- a/docs/v2/admin/models/AttributeName.md +++ b/docs/v2/admin/models/AttributeName.md @@ -4,7 +4,7 @@ AttributeName ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/admin/models/AttributeValue.md b/docs/v2/admin/models/AttributeValue.md index ad98a056..cdd79346 100644 --- a/docs/v2/admin/models/AttributeValue.md +++ b/docs/v2/admin/models/AttributeValue.md @@ -4,7 +4,7 @@ AttributeValue ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/admin/models/EnrollmentName.md b/docs/v2/admin/models/EnrollmentName.md index 0ba8f438..037384fd 100644 --- a/docs/v2/admin/models/EnrollmentName.md +++ b/docs/v2/admin/models/EnrollmentName.md @@ -4,7 +4,7 @@ EnrollmentName ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/admin/models/Group.md b/docs/v2/admin/models/Group.md index f974bd51..dde0788e 100644 --- a/docs/v2/admin/models/Group.md +++ b/docs/v2/admin/models/Group.md @@ -7,7 +7,7 @@ Group | ------------ | ------------- | ------------- | ------------- | **id** | PrincipalId | Yes | | **name** | GroupName | Yes | The name of the Group. | -**description** | Optional[pydantic.StrictStr] | No | A description of the Group. | +**description** | Optional[str] | No | A description of the Group. | **realm** | Realm | Yes | | **organizations** | List[OrganizationRid] | Yes | The RIDs of the Organizations whose members can see this group. At least one Organization RID must be listed. | **attributes** | Dict[AttributeName, AttributeValues] | Yes | A map of the Group's attributes. Attributes prefixed with "multipass:" are reserved for internal use by Foundry and are subject to change. | diff --git a/docs/v2/admin/models/GroupDict.md b/docs/v2/admin/models/GroupDict.md index 4a77bd80..568382b6 100644 --- a/docs/v2/admin/models/GroupDict.md +++ b/docs/v2/admin/models/GroupDict.md @@ -7,7 +7,7 @@ Group | ------------ | ------------- | ------------- | ------------- | **id** | PrincipalId | Yes | | **name** | GroupName | Yes | The name of the Group. | -**description** | NotRequired[pydantic.StrictStr] | No | A description of the Group. | +**description** | NotRequired[str] | No | A description of the Group. | **realm** | Realm | Yes | | **organizations** | List[OrganizationRid] | Yes | The RIDs of the Organizations whose members can see this group. At least one Organization RID must be listed. | **attributes** | Dict[AttributeName, AttributeValues] | Yes | A map of the Group's attributes. Attributes prefixed with "multipass:" are reserved for internal use by Foundry and are subject to change. | diff --git a/docs/v2/admin/models/GroupName.md b/docs/v2/admin/models/GroupName.md index 08ef126c..0167f7c6 100644 --- a/docs/v2/admin/models/GroupName.md +++ b/docs/v2/admin/models/GroupName.md @@ -4,7 +4,7 @@ The name of the Group. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/admin/models/GroupSearchFilterDict.md b/docs/v2/admin/models/GroupSearchFilterDict.md index a8ae1b02..eb5977df 100644 --- a/docs/v2/admin/models/GroupSearchFilterDict.md +++ b/docs/v2/admin/models/GroupSearchFilterDict.md @@ -6,7 +6,7 @@ GroupSearchFilter | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **type** | PrincipalFilterType | Yes | | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/admin/models/HostName.md b/docs/v2/admin/models/HostName.md index 4cbff4bb..23ec4ae2 100644 --- a/docs/v2/admin/models/HostName.md +++ b/docs/v2/admin/models/HostName.md @@ -4,7 +4,7 @@ HostName ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/admin/models/Marking.md b/docs/v2/admin/models/Marking.md index 21380860..363308a9 100644 --- a/docs/v2/admin/models/Marking.md +++ b/docs/v2/admin/models/Marking.md @@ -8,7 +8,7 @@ Marking **id** | MarkingId | Yes | | **category_id** | MarkingCategoryId | Yes | | **display_name** | MarkingDisplayName | Yes | | -**description** | Optional[pydantic.StrictStr] | No | | +**description** | Optional[str] | No | | **organization_rid** | Optional[OrganizationRid] | No | If this marking is associated with an Organization, its RID will be populated here. | **created_time** | CreatedTime | Yes | | **created_by** | Optional[CreatedBy] | No | | diff --git a/docs/v2/admin/models/MarkingCategory.md b/docs/v2/admin/models/MarkingCategory.md index dedfe6c8..c221a8c0 100644 --- a/docs/v2/admin/models/MarkingCategory.md +++ b/docs/v2/admin/models/MarkingCategory.md @@ -7,7 +7,7 @@ MarkingCategory | ------------ | ------------- | ------------- | ------------- | **id** | MarkingCategoryId | Yes | | **display_name** | MarkingCategoryDisplayName | Yes | | -**description** | Optional[pydantic.StrictStr] | No | | +**description** | Optional[str] | No | | **category_type** | MarkingCategoryType | Yes | | **marking_type** | MarkingType | Yes | | **markings** | List[MarkingId] | Yes | | diff --git a/docs/v2/admin/models/MarkingCategoryDict.md b/docs/v2/admin/models/MarkingCategoryDict.md index c138a825..a615c2e4 100644 --- a/docs/v2/admin/models/MarkingCategoryDict.md +++ b/docs/v2/admin/models/MarkingCategoryDict.md @@ -7,7 +7,7 @@ MarkingCategory | ------------ | ------------- | ------------- | ------------- | **id** | MarkingCategoryId | Yes | | **displayName** | MarkingCategoryDisplayName | Yes | | -**description** | NotRequired[pydantic.StrictStr] | No | | +**description** | NotRequired[str] | No | | **categoryType** | MarkingCategoryType | Yes | | **markingType** | MarkingType | Yes | | **markings** | List[MarkingId] | Yes | | diff --git a/docs/v2/admin/models/MarkingCategoryDisplayName.md b/docs/v2/admin/models/MarkingCategoryDisplayName.md index ff60e2e7..909d6752 100644 --- a/docs/v2/admin/models/MarkingCategoryDisplayName.md +++ b/docs/v2/admin/models/MarkingCategoryDisplayName.md @@ -4,7 +4,7 @@ MarkingCategoryDisplayName ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/admin/models/MarkingCategoryId.md b/docs/v2/admin/models/MarkingCategoryId.md index 08ecf5c1..9fc55a96 100644 --- a/docs/v2/admin/models/MarkingCategoryId.md +++ b/docs/v2/admin/models/MarkingCategoryId.md @@ -6,7 +6,7 @@ Organizations are placed in a category with ID "Organization". ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/admin/models/MarkingDict.md b/docs/v2/admin/models/MarkingDict.md index f16406e6..6b522c05 100644 --- a/docs/v2/admin/models/MarkingDict.md +++ b/docs/v2/admin/models/MarkingDict.md @@ -8,7 +8,7 @@ Marking **id** | MarkingId | Yes | | **categoryId** | MarkingCategoryId | Yes | | **displayName** | MarkingDisplayName | Yes | | -**description** | NotRequired[pydantic.StrictStr] | No | | +**description** | NotRequired[str] | No | | **organizationRid** | NotRequired[OrganizationRid] | No | If this marking is associated with an Organization, its RID will be populated here. | **createdTime** | CreatedTime | Yes | | **createdBy** | NotRequired[CreatedBy] | No | | diff --git a/docs/v2/admin/models/MarkingDisplayName.md b/docs/v2/admin/models/MarkingDisplayName.md index f2a5650c..d495ff20 100644 --- a/docs/v2/admin/models/MarkingDisplayName.md +++ b/docs/v2/admin/models/MarkingDisplayName.md @@ -4,7 +4,7 @@ MarkingDisplayName ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/admin/models/User.md b/docs/v2/admin/models/User.md index 7b75fe87..09bef0b5 100644 --- a/docs/v2/admin/models/User.md +++ b/docs/v2/admin/models/User.md @@ -7,9 +7,9 @@ User | ------------ | ------------- | ------------- | ------------- | **id** | PrincipalId | Yes | | **username** | UserUsername | Yes | The Foundry username of the User. This is unique within the realm. | -**given_name** | Optional[pydantic.StrictStr] | No | The given name of the User. | -**family_name** | Optional[pydantic.StrictStr] | No | The family name (last name) of the User. | -**email** | Optional[pydantic.StrictStr] | No | The email at which to contact a User. Multiple users may have the same email address. | +**given_name** | Optional[str] | No | The given name of the User. | +**family_name** | Optional[str] | No | The family name (last name) of the User. | +**email** | Optional[str] | No | The email at which to contact a User. Multiple users may have the same email address. | **realm** | Realm | Yes | | **organization** | Optional[OrganizationRid] | No | The RID of the user's primary Organization. This will be blank for third-party application service users. | **attributes** | Dict[AttributeName, AttributeValues] | Yes | A map of the User's attributes. Attributes prefixed with "multipass:" are reserved for internal use by Foundry and are subject to change. Additional attributes may be configured by Foundry administrators in Control Panel and populated by the User's SSO provider upon login. | diff --git a/docs/v2/admin/models/UserDict.md b/docs/v2/admin/models/UserDict.md index ac2c62ad..a0e09bb7 100644 --- a/docs/v2/admin/models/UserDict.md +++ b/docs/v2/admin/models/UserDict.md @@ -7,9 +7,9 @@ User | ------------ | ------------- | ------------- | ------------- | **id** | PrincipalId | Yes | | **username** | UserUsername | Yes | The Foundry username of the User. This is unique within the realm. | -**givenName** | NotRequired[pydantic.StrictStr] | No | The given name of the User. | -**familyName** | NotRequired[pydantic.StrictStr] | No | The family name (last name) of the User. | -**email** | NotRequired[pydantic.StrictStr] | No | The email at which to contact a User. Multiple users may have the same email address. | +**givenName** | NotRequired[str] | No | The given name of the User. | +**familyName** | NotRequired[str] | No | The family name (last name) of the User. | +**email** | NotRequired[str] | No | The email at which to contact a User. Multiple users may have the same email address. | **realm** | Realm | Yes | | **organization** | NotRequired[OrganizationRid] | No | The RID of the user's primary Organization. This will be blank for third-party application service users. | **attributes** | Dict[AttributeName, AttributeValues] | Yes | A map of the User's attributes. Attributes prefixed with "multipass:" are reserved for internal use by Foundry and are subject to change. Additional attributes may be configured by Foundry administrators in Control Panel and populated by the User's SSO provider upon login. | diff --git a/docs/v2/admin/models/UserSearchFilterDict.md b/docs/v2/admin/models/UserSearchFilterDict.md index 85df3e37..d23e3d5a 100644 --- a/docs/v2/admin/models/UserSearchFilterDict.md +++ b/docs/v2/admin/models/UserSearchFilterDict.md @@ -6,7 +6,7 @@ UserSearchFilter | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **type** | PrincipalFilterType | Yes | | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/admin/models/UserUsername.md b/docs/v2/admin/models/UserUsername.md index 8b23c294..ace9359f 100644 --- a/docs/v2/admin/models/UserUsername.md +++ b/docs/v2/admin/models/UserUsername.md @@ -4,7 +4,7 @@ The Foundry username of the User. This is unique within the realm. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/aip_agents/models/AgentMarkdownResponse.md b/docs/v2/aip_agents/models/AgentMarkdownResponse.md index a196f6ea..6d78d1b4 100644 --- a/docs/v2/aip_agents/models/AgentMarkdownResponse.md +++ b/docs/v2/aip_agents/models/AgentMarkdownResponse.md @@ -4,7 +4,7 @@ The final answer for an exchange. Responses are formatted using markdown. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/aip_agents/models/AgentMetadata.md b/docs/v2/aip_agents/models/AgentMetadata.md index 8c1ac900..818873d6 100644 --- a/docs/v2/aip_agents/models/AgentMetadata.md +++ b/docs/v2/aip_agents/models/AgentMetadata.md @@ -5,10 +5,10 @@ Metadata for an Agent. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**display_name** | pydantic.StrictStr | Yes | The name of the Agent. | -**description** | Optional[pydantic.StrictStr] | No | The description for the Agent. | -**input_placeholder** | Optional[pydantic.StrictStr] | No | The default text to show as the placeholder input for chats with the Agent. | -**suggested_prompts** | List[pydantic.StrictStr] | Yes | Prompts to show to the user as example messages to start a conversation with the Agent. | +**display_name** | str | Yes | The name of the Agent. | +**description** | Optional[str] | No | The description for the Agent. | +**input_placeholder** | Optional[str] | No | The default text to show as the placeholder input for chats with the Agent. | +**suggested_prompts** | List[str] | Yes | Prompts to show to the user as example messages to start a conversation with the Agent. | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/aip_agents/models/AgentMetadataDict.md b/docs/v2/aip_agents/models/AgentMetadataDict.md index 6aea1e7d..f2eb3efa 100644 --- a/docs/v2/aip_agents/models/AgentMetadataDict.md +++ b/docs/v2/aip_agents/models/AgentMetadataDict.md @@ -5,10 +5,10 @@ Metadata for an Agent. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**displayName** | pydantic.StrictStr | Yes | The name of the Agent. | -**description** | NotRequired[pydantic.StrictStr] | No | The description for the Agent. | -**inputPlaceholder** | NotRequired[pydantic.StrictStr] | No | The default text to show as the placeholder input for chats with the Agent. | -**suggestedPrompts** | List[pydantic.StrictStr] | Yes | Prompts to show to the user as example messages to start a conversation with the Agent. | +**displayName** | str | Yes | The name of the Agent. | +**description** | NotRequired[str] | No | The description for the Agent. | +**inputPlaceholder** | NotRequired[str] | No | The default text to show as the placeholder input for chats with the Agent. | +**suggestedPrompts** | List[str] | Yes | Prompts to show to the user as example messages to start a conversation with the Agent. | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/aip_agents/models/AgentVersionDetails.md b/docs/v2/aip_agents/models/AgentVersionDetails.md index cc029510..b1bfe03d 100644 --- a/docs/v2/aip_agents/models/AgentVersionDetails.md +++ b/docs/v2/aip_agents/models/AgentVersionDetails.md @@ -5,8 +5,8 @@ Semantic version details for an Agent. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**major** | pydantic.StrictInt | Yes | The major version of the Agent. Incremented every time the Agent is published. | -**minor** | pydantic.StrictInt | Yes | The minor version of the Agent. Incremented every time the Agent is saved. | +**major** | int | Yes | The major version of the Agent. Incremented every time the Agent is published. | +**minor** | int | Yes | The minor version of the Agent. Incremented every time the Agent is saved. | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/aip_agents/models/AgentVersionDetailsDict.md b/docs/v2/aip_agents/models/AgentVersionDetailsDict.md index 12d94add..2f93ad1c 100644 --- a/docs/v2/aip_agents/models/AgentVersionDetailsDict.md +++ b/docs/v2/aip_agents/models/AgentVersionDetailsDict.md @@ -5,8 +5,8 @@ Semantic version details for an Agent. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**major** | pydantic.StrictInt | Yes | The major version of the Agent. Incremented every time the Agent is published. | -**minor** | pydantic.StrictInt | Yes | The minor version of the Agent. Incremented every time the Agent is saved. | +**major** | int | Yes | The major version of the Agent. Incremented every time the Agent is published. | +**minor** | int | Yes | The minor version of the Agent. Incremented every time the Agent is saved. | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/aip_agents/models/AgentVersionString.md b/docs/v2/aip_agents/models/AgentVersionString.md index 6b6437d1..c33ef915 100644 --- a/docs/v2/aip_agents/models/AgentVersionString.md +++ b/docs/v2/aip_agents/models/AgentVersionString.md @@ -4,7 +4,7 @@ The semantic version of the Agent, formatted as "majorVersion.minorVersion". ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/aip_agents/models/Parameter.md b/docs/v2/aip_agents/models/Parameter.md index 57ffb7e6..39e2d9f6 100644 --- a/docs/v2/aip_agents/models/Parameter.md +++ b/docs/v2/aip_agents/models/Parameter.md @@ -8,7 +8,7 @@ A parameter configured for an Agent in [AIP Agent Studio](/docs/foundry/agent-st | ------------ | ------------- | ------------- | ------------- | **parameter_type** | ParameterType | Yes | Details of the types of values accepted and defaults for this parameter. | **access** | ParameterAccessMode | Yes | The access mode controls how the Agent is able to interact with the parameter. | -**description** | Optional[pydantic.StrictStr] | No | A description to explain the use of this parameter. This description is injected with the parameter value into the Agent's prompt, to provide context for when to use the parameter. | +**description** | Optional[str] | No | A description to explain the use of this parameter. This description is injected with the parameter value into the Agent's prompt, to provide context for when to use the parameter. | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/aip_agents/models/ParameterDict.md b/docs/v2/aip_agents/models/ParameterDict.md index 452f15a2..67794594 100644 --- a/docs/v2/aip_agents/models/ParameterDict.md +++ b/docs/v2/aip_agents/models/ParameterDict.md @@ -8,7 +8,7 @@ A parameter configured for an Agent in [AIP Agent Studio](/docs/foundry/agent-st | ------------ | ------------- | ------------- | ------------- | **parameterType** | ParameterTypeDict | Yes | Details of the types of values accepted and defaults for this parameter. | **access** | ParameterAccessMode | Yes | The access mode controls how the Agent is able to interact with the parameter. | -**description** | NotRequired[pydantic.StrictStr] | No | A description to explain the use of this parameter. This description is injected with the parameter value into the Agent's prompt, to provide context for when to use the parameter. | +**description** | NotRequired[str] | No | A description to explain the use of this parameter. This description is injected with the parameter value into the Agent's prompt, to provide context for when to use the parameter. | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/aip_agents/models/ParameterId.md b/docs/v2/aip_agents/models/ParameterId.md index 49d93b0a..d38f7ac6 100644 --- a/docs/v2/aip_agents/models/ParameterId.md +++ b/docs/v2/aip_agents/models/ParameterId.md @@ -4,7 +4,7 @@ The unique identifier for a parameter, as configured in [AIP Agent Studio](/docs ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/aip_agents/models/SessionExchangeResult.md b/docs/v2/aip_agents/models/SessionExchangeResult.md index ad362645..3564efe7 100644 --- a/docs/v2/aip_agents/models/SessionExchangeResult.md +++ b/docs/v2/aip_agents/models/SessionExchangeResult.md @@ -7,8 +7,8 @@ The returned result from the Agent for a session exchange. | ------------ | ------------- | ------------- | ------------- | **agent_markdown_response** | AgentMarkdownResponse | Yes | The final text response generated by the Agent. Responses are formatted using markdown. | **parameter_updates** | Dict[ParameterId, ParameterValueUpdate] | Yes | Any updates to parameters which were generated by the Agent for this exchange. Updates can only be generated for parameter values that were provided as input to the Agent and that are configured with `READ_WRITE` access on the Agent in AIP Agent Studio. | -**total_tokens_used** | Optional[pydantic.StrictInt] | No | Total tokens used to compute the result. Omitted if token usage information is not supported by the model used for the session. | -**interrupted_output** | pydantic.StrictBool | Yes | True if the exchange was canceled. In that case, the response (if any) was provided by the client as part of the cancellation request rather than by the Agent. | +**total_tokens_used** | Optional[int] | No | Total tokens used to compute the result. Omitted if token usage information is not supported by the model used for the session. | +**interrupted_output** | bool | Yes | True if the exchange was canceled. In that case, the response (if any) was provided by the client as part of the cancellation request rather than by the Agent. | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/aip_agents/models/SessionExchangeResultDict.md b/docs/v2/aip_agents/models/SessionExchangeResultDict.md index fafcef57..c483f2ad 100644 --- a/docs/v2/aip_agents/models/SessionExchangeResultDict.md +++ b/docs/v2/aip_agents/models/SessionExchangeResultDict.md @@ -7,8 +7,8 @@ The returned result from the Agent for a session exchange. | ------------ | ------------- | ------------- | ------------- | **agentMarkdownResponse** | AgentMarkdownResponse | Yes | The final text response generated by the Agent. Responses are formatted using markdown. | **parameterUpdates** | Dict[ParameterId, ParameterValueUpdateDict] | Yes | Any updates to parameters which were generated by the Agent for this exchange. Updates can only be generated for parameter values that were provided as input to the Agent and that are configured with `READ_WRITE` access on the Agent in AIP Agent Studio. | -**totalTokensUsed** | NotRequired[pydantic.StrictInt] | No | Total tokens used to compute the result. Omitted if token usage information is not supported by the model used for the session. | -**interruptedOutput** | pydantic.StrictBool | Yes | True if the exchange was canceled. In that case, the response (if any) was provided by the client as part of the cancellation request rather than by the Agent. | +**totalTokensUsed** | NotRequired[int] | No | Total tokens used to compute the result. Omitted if token usage information is not supported by the model used for the session. | +**interruptedOutput** | bool | Yes | True if the exchange was canceled. In that case, the response (if any) was provided by the client as part of the cancellation request rather than by the Agent. | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/aip_agents/models/SessionMetadata.md b/docs/v2/aip_agents/models/SessionMetadata.md index e61604b9..44f6a257 100644 --- a/docs/v2/aip_agents/models/SessionMetadata.md +++ b/docs/v2/aip_agents/models/SessionMetadata.md @@ -5,10 +5,10 @@ Metadata for a conversation session with an Agent. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**title** | pydantic.StrictStr | Yes | The title of the session. | +**title** | str | Yes | The title of the session. | **created_time** | datetime | Yes | The time the session was created. | **updated_time** | datetime | Yes | The time the session was last updated. | -**message_count** | pydantic.StrictInt | Yes | The count of messages in the session. Includes both user messages and Agent replies, so each complete exchange counts as two messages. | +**message_count** | int | Yes | The count of messages in the session. Includes both user messages and Agent replies, so each complete exchange counts as two messages. | **estimated_expires_time** | datetime | Yes | The estimated time at which the session is due to expire. Once a session has expired, it can no longer be accessed and a new session must be created. The expiry time is automatically extended when new exchanges are added to the session. | diff --git a/docs/v2/aip_agents/models/SessionMetadataDict.md b/docs/v2/aip_agents/models/SessionMetadataDict.md index 8e46ff1e..3175818a 100644 --- a/docs/v2/aip_agents/models/SessionMetadataDict.md +++ b/docs/v2/aip_agents/models/SessionMetadataDict.md @@ -5,10 +5,10 @@ Metadata for a conversation session with an Agent. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**title** | pydantic.StrictStr | Yes | The title of the session. | +**title** | str | Yes | The title of the session. | **createdTime** | datetime | Yes | The time the session was created. | **updatedTime** | datetime | Yes | The time the session was last updated. | -**messageCount** | pydantic.StrictInt | Yes | The count of messages in the session. Includes both user messages and Agent replies, so each complete exchange counts as two messages. | +**messageCount** | int | Yes | The count of messages in the session. Includes both user messages and Agent replies, so each complete exchange counts as two messages. | **estimatedExpiresTime** | datetime | Yes | The estimated time at which the session is due to expire. Once a session has expired, it can no longer be accessed and a new session must be created. The expiry time is automatically extended when new exchanges are added to the session. | diff --git a/docs/v2/aip_agents/models/StringParameter.md b/docs/v2/aip_agents/models/StringParameter.md index dfe4b484..aa8a347a 100644 --- a/docs/v2/aip_agents/models/StringParameter.md +++ b/docs/v2/aip_agents/models/StringParameter.md @@ -5,7 +5,7 @@ StringParameter ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**default_value** | Optional[pydantic.StrictStr] | No | The default value to use for this parameter. | +**default_value** | Optional[str] | No | The default value to use for this parameter. | **type** | Literal["string"] | Yes | None | diff --git a/docs/v2/aip_agents/models/StringParameterDict.md b/docs/v2/aip_agents/models/StringParameterDict.md index e7c01d84..de7f2b18 100644 --- a/docs/v2/aip_agents/models/StringParameterDict.md +++ b/docs/v2/aip_agents/models/StringParameterDict.md @@ -5,7 +5,7 @@ StringParameter ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**defaultValue** | NotRequired[pydantic.StrictStr] | No | The default value to use for this parameter. | +**defaultValue** | NotRequired[str] | No | The default value to use for this parameter. | **type** | Literal["string"] | Yes | None | diff --git a/docs/v2/aip_agents/models/StringParameterValue.md b/docs/v2/aip_agents/models/StringParameterValue.md index 99b1c85a..e1bc521c 100644 --- a/docs/v2/aip_agents/models/StringParameterValue.md +++ b/docs/v2/aip_agents/models/StringParameterValue.md @@ -5,7 +5,7 @@ A value passed for `StringParameter` parameter types. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | **type** | Literal["string"] | Yes | None | diff --git a/docs/v2/aip_agents/models/StringParameterValueDict.md b/docs/v2/aip_agents/models/StringParameterValueDict.md index eaa980ff..eca37158 100644 --- a/docs/v2/aip_agents/models/StringParameterValueDict.md +++ b/docs/v2/aip_agents/models/StringParameterValueDict.md @@ -5,7 +5,7 @@ A value passed for `StringParameter` parameter types. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | **type** | Literal["string"] | Yes | None | diff --git a/docs/v2/aip_agents/models/UserTextInput.md b/docs/v2/aip_agents/models/UserTextInput.md index 80a6a7f5..5c8d6c55 100644 --- a/docs/v2/aip_agents/models/UserTextInput.md +++ b/docs/v2/aip_agents/models/UserTextInput.md @@ -5,7 +5,7 @@ UserTextInput ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**text** | pydantic.StrictStr | Yes | The user message text. | +**text** | str | Yes | The user message text. | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/aip_agents/models/UserTextInputDict.md b/docs/v2/aip_agents/models/UserTextInputDict.md index e9777167..c4f1f0ff 100644 --- a/docs/v2/aip_agents/models/UserTextInputDict.md +++ b/docs/v2/aip_agents/models/UserTextInputDict.md @@ -5,7 +5,7 @@ UserTextInput ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**text** | pydantic.StrictStr | Yes | The user message text. | +**text** | str | Yes | The user message text. | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/connectivity/models/AwsAccessKey.md b/docs/v2/connectivity/models/AwsAccessKey.md index f988dac4..72999bc7 100644 --- a/docs/v2/connectivity/models/AwsAccessKey.md +++ b/docs/v2/connectivity/models/AwsAccessKey.md @@ -10,7 +10,7 @@ secret access key together to authenticate your requests. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**access_key_id** | pydantic.StrictStr | Yes | | +**access_key_id** | str | Yes | | **secret_access_key** | EncryptedProperty | Yes | | **type** | Literal["awsAccessKey"] | Yes | None | diff --git a/docs/v2/connectivity/models/AwsAccessKeyDict.md b/docs/v2/connectivity/models/AwsAccessKeyDict.md index 5fbe2eb8..b822eebe 100644 --- a/docs/v2/connectivity/models/AwsAccessKeyDict.md +++ b/docs/v2/connectivity/models/AwsAccessKeyDict.md @@ -10,7 +10,7 @@ secret access key together to authenticate your requests. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**accessKeyId** | pydantic.StrictStr | Yes | | +**accessKeyId** | str | Yes | | **secretAccessKey** | EncryptedPropertyDict | Yes | | **type** | Literal["awsAccessKey"] | Yes | None | diff --git a/docs/v2/connectivity/models/ConnectionDisplayName.md b/docs/v2/connectivity/models/ConnectionDisplayName.md index 90d30e1f..06f3e3c6 100644 --- a/docs/v2/connectivity/models/ConnectionDisplayName.md +++ b/docs/v2/connectivity/models/ConnectionDisplayName.md @@ -4,7 +4,7 @@ ConnectionDisplayName ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/connectivity/models/CreateConnectionRequestS3ConnectionConfigurationDict.md b/docs/v2/connectivity/models/CreateConnectionRequestS3ConnectionConfigurationDict.md index 09e9edf4..ed57e89a 100644 --- a/docs/v2/connectivity/models/CreateConnectionRequestS3ConnectionConfigurationDict.md +++ b/docs/v2/connectivity/models/CreateConnectionRequestS3ConnectionConfigurationDict.md @@ -5,7 +5,7 @@ CreateConnectionRequestS3ConnectionConfiguration ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**bucketUrl** | pydantic.StrictStr | Yes | The URL of the S3 bucket. The URL should contain a trailing slash. | +**bucketUrl** | str | Yes | The URL of the S3 bucket. The URL should contain a trailing slash. | **authenticationMode** | NotRequired[S3AuthenticationModeDict] | No | The authentication mode to use to connect to the S3 external system. No authentication mode is required to connect to publicly accessible AWS S3 buckets. | **type** | Literal["s3"] | Yes | None | diff --git a/docs/v2/connectivity/models/CreateTableImportRequestJdbcImportConfigDict.md b/docs/v2/connectivity/models/CreateTableImportRequestJdbcImportConfigDict.md index 58d56a8f..82f28844 100644 --- a/docs/v2/connectivity/models/CreateTableImportRequestJdbcImportConfigDict.md +++ b/docs/v2/connectivity/models/CreateTableImportRequestJdbcImportConfigDict.md @@ -5,7 +5,7 @@ CreateTableImportRequestJdbcImportConfig ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**query** | pydantic.StrictStr | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | +**query** | str | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | **type** | Literal["jdbcImportConfig"] | Yes | None | diff --git a/docs/v2/connectivity/models/CreateTableImportRequestMicrosoftAccessImportConfigDict.md b/docs/v2/connectivity/models/CreateTableImportRequestMicrosoftAccessImportConfigDict.md index 9d9bc4ad..12c69a43 100644 --- a/docs/v2/connectivity/models/CreateTableImportRequestMicrosoftAccessImportConfigDict.md +++ b/docs/v2/connectivity/models/CreateTableImportRequestMicrosoftAccessImportConfigDict.md @@ -5,7 +5,7 @@ CreateTableImportRequestMicrosoftAccessImportConfig ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**query** | pydantic.StrictStr | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | +**query** | str | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | **type** | Literal["microsoftAccessImportConfig"] | Yes | None | diff --git a/docs/v2/connectivity/models/CreateTableImportRequestMicrosoftSqlServerImportConfigDict.md b/docs/v2/connectivity/models/CreateTableImportRequestMicrosoftSqlServerImportConfigDict.md index e6bf9947..90b90cc8 100644 --- a/docs/v2/connectivity/models/CreateTableImportRequestMicrosoftSqlServerImportConfigDict.md +++ b/docs/v2/connectivity/models/CreateTableImportRequestMicrosoftSqlServerImportConfigDict.md @@ -5,7 +5,7 @@ CreateTableImportRequestMicrosoftSqlServerImportConfig ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**query** | pydantic.StrictStr | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | +**query** | str | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | **type** | Literal["microsoftSqlServerImportConfig"] | Yes | None | diff --git a/docs/v2/connectivity/models/CreateTableImportRequestOracleImportConfigDict.md b/docs/v2/connectivity/models/CreateTableImportRequestOracleImportConfigDict.md index 97c1d2ee..c29af380 100644 --- a/docs/v2/connectivity/models/CreateTableImportRequestOracleImportConfigDict.md +++ b/docs/v2/connectivity/models/CreateTableImportRequestOracleImportConfigDict.md @@ -5,7 +5,7 @@ CreateTableImportRequestOracleImportConfig ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**query** | pydantic.StrictStr | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | +**query** | str | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | **type** | Literal["oracleImportConfig"] | Yes | None | diff --git a/docs/v2/connectivity/models/CreateTableImportRequestPostgreSqlImportConfigDict.md b/docs/v2/connectivity/models/CreateTableImportRequestPostgreSqlImportConfigDict.md index 0a1067a4..982101f4 100644 --- a/docs/v2/connectivity/models/CreateTableImportRequestPostgreSqlImportConfigDict.md +++ b/docs/v2/connectivity/models/CreateTableImportRequestPostgreSqlImportConfigDict.md @@ -5,7 +5,7 @@ CreateTableImportRequestPostgreSqlImportConfig ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**query** | pydantic.StrictStr | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | +**query** | str | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | **type** | Literal["postgreSqlImportConfig"] | Yes | None | diff --git a/docs/v2/connectivity/models/FileAnyPathMatchesFilter.md b/docs/v2/connectivity/models/FileAnyPathMatchesFilter.md index ddb8442d..487adcd5 100644 --- a/docs/v2/connectivity/models/FileAnyPathMatchesFilter.md +++ b/docs/v2/connectivity/models/FileAnyPathMatchesFilter.md @@ -6,7 +6,7 @@ If any file has a relative path matching the regular expression, sync all files ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**regex** | pydantic.StrictStr | Yes | The regular expression for the relative path to match against. | +**regex** | str | Yes | The regular expression for the relative path to match against. | **type** | Literal["anyPathMatchesFilter"] | Yes | None | diff --git a/docs/v2/connectivity/models/FileAnyPathMatchesFilterDict.md b/docs/v2/connectivity/models/FileAnyPathMatchesFilterDict.md index 7b363ed1..b3666bf1 100644 --- a/docs/v2/connectivity/models/FileAnyPathMatchesFilterDict.md +++ b/docs/v2/connectivity/models/FileAnyPathMatchesFilterDict.md @@ -6,7 +6,7 @@ If any file has a relative path matching the regular expression, sync all files ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**regex** | pydantic.StrictStr | Yes | The regular expression for the relative path to match against. | +**regex** | str | Yes | The regular expression for the relative path to match against. | **type** | Literal["anyPathMatchesFilter"] | Yes | None | diff --git a/docs/v2/connectivity/models/FileAtLeastCountFilter.md b/docs/v2/connectivity/models/FileAtLeastCountFilter.md index 23eb1b13..4fd429de 100644 --- a/docs/v2/connectivity/models/FileAtLeastCountFilter.md +++ b/docs/v2/connectivity/models/FileAtLeastCountFilter.md @@ -5,7 +5,7 @@ Import all filtered files only if there are at least the specified number of fil ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**min_files_count** | pydantic.StrictInt | Yes | The minimum number of files remaining expected. The value specified must be greater than 0. | +**min_files_count** | int | Yes | The minimum number of files remaining expected. The value specified must be greater than 0. | **type** | Literal["atLeastCountFilter"] | Yes | None | diff --git a/docs/v2/connectivity/models/FileAtLeastCountFilterDict.md b/docs/v2/connectivity/models/FileAtLeastCountFilterDict.md index 4be88fa7..988d5386 100644 --- a/docs/v2/connectivity/models/FileAtLeastCountFilterDict.md +++ b/docs/v2/connectivity/models/FileAtLeastCountFilterDict.md @@ -5,7 +5,7 @@ Import all filtered files only if there are at least the specified number of fil ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**minFilesCount** | pydantic.StrictInt | Yes | The minimum number of files remaining expected. The value specified must be greater than 0. | +**minFilesCount** | int | Yes | The minimum number of files remaining expected. The value specified must be greater than 0. | **type** | Literal["atLeastCountFilter"] | Yes | None | diff --git a/docs/v2/connectivity/models/FileImport.md b/docs/v2/connectivity/models/FileImport.md index 3eacc91b..24c2f83d 100644 --- a/docs/v2/connectivity/models/FileImport.md +++ b/docs/v2/connectivity/models/FileImport.md @@ -12,7 +12,7 @@ FileImport **display_name** | FileImportDisplayName | Yes | | **file_import_filters** | List[FileImportFilter] | Yes | Use filters to limit which files should be imported. Filters are applied in the order they are defined. A different ordering of filters may lead to a more optimized import. [Learn more about optimizing file imports.](/docs/foundry/data-connection/file-based-syncs/#optimize-file-based-syncs) | **import_mode** | FileImportMode | Yes | | -**subfolder** | Optional[pydantic.StrictStr] | No | A subfolder in the external system that will be imported. If not specified, defaults to the root folder of the external system. | +**subfolder** | Optional[str] | No | A subfolder in the external system that will be imported. If not specified, defaults to the root folder of the external system. | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/connectivity/models/FileImportDict.md b/docs/v2/connectivity/models/FileImportDict.md index c4b5f916..d35ce2da 100644 --- a/docs/v2/connectivity/models/FileImportDict.md +++ b/docs/v2/connectivity/models/FileImportDict.md @@ -12,7 +12,7 @@ FileImport **displayName** | FileImportDisplayName | Yes | | **fileImportFilters** | List[FileImportFilterDict] | Yes | Use filters to limit which files should be imported. Filters are applied in the order they are defined. A different ordering of filters may lead to a more optimized import. [Learn more about optimizing file imports.](/docs/foundry/data-connection/file-based-syncs/#optimize-file-based-syncs) | **importMode** | FileImportMode | Yes | | -**subfolder** | NotRequired[pydantic.StrictStr] | No | A subfolder in the external system that will be imported. If not specified, defaults to the root folder of the external system. | +**subfolder** | NotRequired[str] | No | A subfolder in the external system that will be imported. If not specified, defaults to the root folder of the external system. | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/connectivity/models/FileImportDisplayName.md b/docs/v2/connectivity/models/FileImportDisplayName.md index cf578ac6..04b25f9f 100644 --- a/docs/v2/connectivity/models/FileImportDisplayName.md +++ b/docs/v2/connectivity/models/FileImportDisplayName.md @@ -4,7 +4,7 @@ FileImportDisplayName ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/connectivity/models/FilePathMatchesFilter.md b/docs/v2/connectivity/models/FilePathMatchesFilter.md index 8e61d71d..1731d2a7 100644 --- a/docs/v2/connectivity/models/FilePathMatchesFilter.md +++ b/docs/v2/connectivity/models/FilePathMatchesFilter.md @@ -15,7 +15,7 @@ With the `relative/subfolder/include-.*.txt` regex, only `relative/subfolder/inc ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**regex** | pydantic.StrictStr | Yes | Must be written to match the paths relative to the root of the source, even if a subfolder is specified. | +**regex** | str | Yes | Must be written to match the paths relative to the root of the source, even if a subfolder is specified. | **type** | Literal["pathMatchesFilter"] | Yes | None | diff --git a/docs/v2/connectivity/models/FilePathMatchesFilterDict.md b/docs/v2/connectivity/models/FilePathMatchesFilterDict.md index ecb77ace..8a5d9690 100644 --- a/docs/v2/connectivity/models/FilePathMatchesFilterDict.md +++ b/docs/v2/connectivity/models/FilePathMatchesFilterDict.md @@ -15,7 +15,7 @@ With the `relative/subfolder/include-.*.txt` regex, only `relative/subfolder/inc ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**regex** | pydantic.StrictStr | Yes | Must be written to match the paths relative to the root of the source, even if a subfolder is specified. | +**regex** | str | Yes | Must be written to match the paths relative to the root of the source, even if a subfolder is specified. | **type** | Literal["pathMatchesFilter"] | Yes | None | diff --git a/docs/v2/connectivity/models/FilePathNotMatchesFilter.md b/docs/v2/connectivity/models/FilePathNotMatchesFilter.md index 56136dcd..4ae3f0d9 100644 --- a/docs/v2/connectivity/models/FilePathNotMatchesFilter.md +++ b/docs/v2/connectivity/models/FilePathNotMatchesFilter.md @@ -16,7 +16,7 @@ and `relative/subfolder/exclude-file.txt` will be excluded from the import. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**regex** | pydantic.StrictStr | Yes | Must be written to match the paths relative to the root of the source, even if a subfolder is specified. | +**regex** | str | Yes | Must be written to match the paths relative to the root of the source, even if a subfolder is specified. | **type** | Literal["pathNotMatchesFilter"] | Yes | None | diff --git a/docs/v2/connectivity/models/FilePathNotMatchesFilterDict.md b/docs/v2/connectivity/models/FilePathNotMatchesFilterDict.md index fcc617be..2374286e 100644 --- a/docs/v2/connectivity/models/FilePathNotMatchesFilterDict.md +++ b/docs/v2/connectivity/models/FilePathNotMatchesFilterDict.md @@ -16,7 +16,7 @@ and `relative/subfolder/exclude-file.txt` will be excluded from the import. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**regex** | pydantic.StrictStr | Yes | Must be written to match the paths relative to the root of the source, even if a subfolder is specified. | +**regex** | str | Yes | Must be written to match the paths relative to the root of the source, even if a subfolder is specified. | **type** | Literal["pathNotMatchesFilter"] | Yes | None | diff --git a/docs/v2/connectivity/models/FilesCountLimitFilter.md b/docs/v2/connectivity/models/FilesCountLimitFilter.md index f4ecc08f..f546359e 100644 --- a/docs/v2/connectivity/models/FilesCountLimitFilter.md +++ b/docs/v2/connectivity/models/FilesCountLimitFilter.md @@ -8,7 +8,7 @@ This option can increase the reliability of incremental syncs. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**files_count** | pydantic.StrictInt | Yes | The number of files to import in the transaction. The value specified must be positive. | +**files_count** | int | Yes | The number of files to import in the transaction. The value specified must be positive. | **type** | Literal["filesCountLimitFilter"] | Yes | None | diff --git a/docs/v2/connectivity/models/FilesCountLimitFilterDict.md b/docs/v2/connectivity/models/FilesCountLimitFilterDict.md index 8e1f9d19..7c007cb9 100644 --- a/docs/v2/connectivity/models/FilesCountLimitFilterDict.md +++ b/docs/v2/connectivity/models/FilesCountLimitFilterDict.md @@ -8,7 +8,7 @@ This option can increase the reliability of incremental syncs. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**filesCount** | pydantic.StrictInt | Yes | The number of files to import in the transaction. The value specified must be positive. | +**filesCount** | int | Yes | The number of files to import in the transaction. The value specified must be positive. | **type** | Literal["filesCountLimitFilter"] | Yes | None | diff --git a/docs/v2/connectivity/models/JdbcImportConfig.md b/docs/v2/connectivity/models/JdbcImportConfig.md index 55e00b11..6c97e9de 100644 --- a/docs/v2/connectivity/models/JdbcImportConfig.md +++ b/docs/v2/connectivity/models/JdbcImportConfig.md @@ -6,7 +6,7 @@ The import configuration for a [custom JDBC connection](docs/foundry/available-c ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**query** | pydantic.StrictStr | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | +**query** | str | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | **type** | Literal["jdbcImportConfig"] | Yes | None | diff --git a/docs/v2/connectivity/models/JdbcImportConfigDict.md b/docs/v2/connectivity/models/JdbcImportConfigDict.md index 1095a331..c2529c5d 100644 --- a/docs/v2/connectivity/models/JdbcImportConfigDict.md +++ b/docs/v2/connectivity/models/JdbcImportConfigDict.md @@ -6,7 +6,7 @@ The import configuration for a [custom JDBC connection](docs/foundry/available-c ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**query** | pydantic.StrictStr | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | +**query** | str | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | **type** | Literal["jdbcImportConfig"] | Yes | None | diff --git a/docs/v2/connectivity/models/MicrosoftAccessImportConfig.md b/docs/v2/connectivity/models/MicrosoftAccessImportConfig.md index 330d807d..e673b2b9 100644 --- a/docs/v2/connectivity/models/MicrosoftAccessImportConfig.md +++ b/docs/v2/connectivity/models/MicrosoftAccessImportConfig.md @@ -6,7 +6,7 @@ The import configuration for a [Microsoft Access connection](docs/foundry/availa ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**query** | pydantic.StrictStr | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | +**query** | str | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | **type** | Literal["microsoftAccessImportConfig"] | Yes | None | diff --git a/docs/v2/connectivity/models/MicrosoftAccessImportConfigDict.md b/docs/v2/connectivity/models/MicrosoftAccessImportConfigDict.md index 3be9952b..6499c12e 100644 --- a/docs/v2/connectivity/models/MicrosoftAccessImportConfigDict.md +++ b/docs/v2/connectivity/models/MicrosoftAccessImportConfigDict.md @@ -6,7 +6,7 @@ The import configuration for a [Microsoft Access connection](docs/foundry/availa ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**query** | pydantic.StrictStr | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | +**query** | str | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | **type** | Literal["microsoftAccessImportConfig"] | Yes | None | diff --git a/docs/v2/connectivity/models/MicrosoftSqlServerImportConfig.md b/docs/v2/connectivity/models/MicrosoftSqlServerImportConfig.md index b1a6e8a2..5bab5ea4 100644 --- a/docs/v2/connectivity/models/MicrosoftSqlServerImportConfig.md +++ b/docs/v2/connectivity/models/MicrosoftSqlServerImportConfig.md @@ -6,7 +6,7 @@ The import configuration for a [Microsoft SQL Server connection](docs/foundry/av ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**query** | pydantic.StrictStr | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | +**query** | str | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | **type** | Literal["microsoftSqlServerImportConfig"] | Yes | None | diff --git a/docs/v2/connectivity/models/MicrosoftSqlServerImportConfigDict.md b/docs/v2/connectivity/models/MicrosoftSqlServerImportConfigDict.md index a66b3300..3209eb6d 100644 --- a/docs/v2/connectivity/models/MicrosoftSqlServerImportConfigDict.md +++ b/docs/v2/connectivity/models/MicrosoftSqlServerImportConfigDict.md @@ -6,7 +6,7 @@ The import configuration for a [Microsoft SQL Server connection](docs/foundry/av ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**query** | pydantic.StrictStr | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | +**query** | str | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | **type** | Literal["microsoftSqlServerImportConfig"] | Yes | None | diff --git a/docs/v2/connectivity/models/Oidc.md b/docs/v2/connectivity/models/Oidc.md index 6c8d1083..d490b0e6 100644 --- a/docs/v2/connectivity/models/Oidc.md +++ b/docs/v2/connectivity/models/Oidc.md @@ -7,8 +7,8 @@ you to authenticate to external system resources without the use of static crede ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**audience** | pydantic.StrictStr | Yes | The configured audience that identifies the external system. | -**issuer_url** | pydantic.StrictStr | Yes | The URL that identifies Foundry as an OIDC identity provider. | +**audience** | str | Yes | The configured audience that identifies the external system. | +**issuer_url** | str | Yes | The URL that identifies Foundry as an OIDC identity provider. | **subject** | ConnectionRid | Yes | The RID of the Connection that is connecting to the external system. | **type** | Literal["oidc"] | Yes | None | diff --git a/docs/v2/connectivity/models/OidcDict.md b/docs/v2/connectivity/models/OidcDict.md index 309e5bce..91fe97a3 100644 --- a/docs/v2/connectivity/models/OidcDict.md +++ b/docs/v2/connectivity/models/OidcDict.md @@ -7,8 +7,8 @@ you to authenticate to external system resources without the use of static crede ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**audience** | pydantic.StrictStr | Yes | The configured audience that identifies the external system. | -**issuerUrl** | pydantic.StrictStr | Yes | The URL that identifies Foundry as an OIDC identity provider. | +**audience** | str | Yes | The configured audience that identifies the external system. | +**issuerUrl** | str | Yes | The URL that identifies Foundry as an OIDC identity provider. | **subject** | ConnectionRid | Yes | The RID of the Connection that is connecting to the external system. | **type** | Literal["oidc"] | Yes | None | diff --git a/docs/v2/connectivity/models/OracleImportConfig.md b/docs/v2/connectivity/models/OracleImportConfig.md index e2a451a5..31c3b27c 100644 --- a/docs/v2/connectivity/models/OracleImportConfig.md +++ b/docs/v2/connectivity/models/OracleImportConfig.md @@ -6,7 +6,7 @@ The import configuration for an Oracle Database 21 connection. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**query** | pydantic.StrictStr | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | +**query** | str | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | **type** | Literal["oracleImportConfig"] | Yes | None | diff --git a/docs/v2/connectivity/models/OracleImportConfigDict.md b/docs/v2/connectivity/models/OracleImportConfigDict.md index b2496dce..fc069fa8 100644 --- a/docs/v2/connectivity/models/OracleImportConfigDict.md +++ b/docs/v2/connectivity/models/OracleImportConfigDict.md @@ -6,7 +6,7 @@ The import configuration for an Oracle Database 21 connection. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**query** | pydantic.StrictStr | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | +**query** | str | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | **type** | Literal["oracleImportConfig"] | Yes | None | diff --git a/docs/v2/connectivity/models/PlaintextValue.md b/docs/v2/connectivity/models/PlaintextValue.md index be799f13..078e402f 100644 --- a/docs/v2/connectivity/models/PlaintextValue.md +++ b/docs/v2/connectivity/models/PlaintextValue.md @@ -4,7 +4,7 @@ PlaintextValue ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/connectivity/models/PostgreSqlImportConfig.md b/docs/v2/connectivity/models/PostgreSqlImportConfig.md index bd2c939b..0c23b08d 100644 --- a/docs/v2/connectivity/models/PostgreSqlImportConfig.md +++ b/docs/v2/connectivity/models/PostgreSqlImportConfig.md @@ -6,7 +6,7 @@ The import configuration for a [PostgreSQL connection](docs/foundry/available-co ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**query** | pydantic.StrictStr | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | +**query** | str | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | **type** | Literal["postgreSqlImportConfig"] | Yes | None | diff --git a/docs/v2/connectivity/models/PostgreSqlImportConfigDict.md b/docs/v2/connectivity/models/PostgreSqlImportConfigDict.md index 45e7d069..2fa05101 100644 --- a/docs/v2/connectivity/models/PostgreSqlImportConfigDict.md +++ b/docs/v2/connectivity/models/PostgreSqlImportConfigDict.md @@ -6,7 +6,7 @@ The import configuration for a [PostgreSQL connection](docs/foundry/available-co ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**query** | pydantic.StrictStr | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | +**query** | str | Yes | A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. The query results are saved to the output dataset in Foundry. | **type** | Literal["postgreSqlImportConfig"] | Yes | None | diff --git a/docs/v2/connectivity/models/S3ConnectionConfiguration.md b/docs/v2/connectivity/models/S3ConnectionConfiguration.md index 8a2b0d6d..601384f5 100644 --- a/docs/v2/connectivity/models/S3ConnectionConfiguration.md +++ b/docs/v2/connectivity/models/S3ConnectionConfiguration.md @@ -7,7 +7,7 @@ implement the s3a protocol)](/docs/foundry/available-connectors/amazon-s3/#amazo ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**bucket_url** | pydantic.StrictStr | Yes | The URL of the S3 bucket. The URL should contain a trailing slash. | +**bucket_url** | str | Yes | The URL of the S3 bucket. The URL should contain a trailing slash. | **authentication_mode** | Optional[S3AuthenticationMode] | No | The authentication mode to use to connect to the S3 external system. No authentication mode is required to connect to publicly accessible AWS S3 buckets. | **type** | Literal["s3"] | Yes | None | diff --git a/docs/v2/connectivity/models/S3ConnectionConfigurationDict.md b/docs/v2/connectivity/models/S3ConnectionConfigurationDict.md index f30033f4..fe892734 100644 --- a/docs/v2/connectivity/models/S3ConnectionConfigurationDict.md +++ b/docs/v2/connectivity/models/S3ConnectionConfigurationDict.md @@ -7,7 +7,7 @@ implement the s3a protocol)](/docs/foundry/available-connectors/amazon-s3/#amazo ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**bucketUrl** | pydantic.StrictStr | Yes | The URL of the S3 bucket. The URL should contain a trailing slash. | +**bucketUrl** | str | Yes | The URL of the S3 bucket. The URL should contain a trailing slash. | **authenticationMode** | NotRequired[S3AuthenticationModeDict] | No | The authentication mode to use to connect to the S3 external system. No authentication mode is required to connect to publicly accessible AWS S3 buckets. | **type** | Literal["s3"] | Yes | None | diff --git a/docs/v2/connectivity/models/SecretName.md b/docs/v2/connectivity/models/SecretName.md index 6cd5030d..2f75c8f9 100644 --- a/docs/v2/connectivity/models/SecretName.md +++ b/docs/v2/connectivity/models/SecretName.md @@ -4,7 +4,7 @@ SecretName ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/connectivity/models/TableImportAllowSchemaChanges.md b/docs/v2/connectivity/models/TableImportAllowSchemaChanges.md index 9d79ad62..5f668cde 100644 --- a/docs/v2/connectivity/models/TableImportAllowSchemaChanges.md +++ b/docs/v2/connectivity/models/TableImportAllowSchemaChanges.md @@ -4,7 +4,7 @@ Allow the TableImport to succeed if the schema of imported rows does not match t ## Type ```python -pydantic.StrictBool +bool ``` diff --git a/docs/v2/connectivity/models/TableImportDisplayName.md b/docs/v2/connectivity/models/TableImportDisplayName.md index 36a5b8a1..9de1dcaa 100644 --- a/docs/v2/connectivity/models/TableImportDisplayName.md +++ b/docs/v2/connectivity/models/TableImportDisplayName.md @@ -4,7 +4,7 @@ TableImportDisplayName ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/core/models/ContentLength.md b/docs/v2/core/models/ContentLength.md index 7d4f076b..c3b7808e 100644 --- a/docs/v2/core/models/ContentLength.md +++ b/docs/v2/core/models/ContentLength.md @@ -4,7 +4,7 @@ ContentLength ## Type ```python -pydantic.StrictStr +Long ``` diff --git a/docs/v2/core/models/ContentType.md b/docs/v2/core/models/ContentType.md index abd1dc2a..fe28ca7f 100644 --- a/docs/v2/core/models/ContentType.md +++ b/docs/v2/core/models/ContentType.md @@ -4,7 +4,7 @@ ContentType ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/core/models/CustomMetadata.md b/docs/v2/core/models/CustomMetadata.md index 4439091f..d9976069 100644 --- a/docs/v2/core/models/CustomMetadata.md +++ b/docs/v2/core/models/CustomMetadata.md @@ -4,7 +4,7 @@ CustomMetadata ## Type ```python -Dict[pydantic.StrictStr, Any] +Dict[str, Any] ``` diff --git a/docs/v2/core/models/DecimalType.md b/docs/v2/core/models/DecimalType.md index 2b290f84..a72e5656 100644 --- a/docs/v2/core/models/DecimalType.md +++ b/docs/v2/core/models/DecimalType.md @@ -5,8 +5,8 @@ DecimalType ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**scale** | pydantic.StrictInt | Yes | The number of digits to the right of the decimal point. The maximum value is 38. | -**precision** | pydantic.StrictInt | Yes | The total number of digits of the Decimal type. The maximum value is 38. | +**scale** | int | Yes | The number of digits to the right of the decimal point. The maximum value is 38. | +**precision** | int | Yes | The total number of digits of the Decimal type. The maximum value is 38. | **type** | Literal["decimal"] | Yes | None | diff --git a/docs/v2/core/models/DecimalTypeDict.md b/docs/v2/core/models/DecimalTypeDict.md index d2c89f74..7effba5e 100644 --- a/docs/v2/core/models/DecimalTypeDict.md +++ b/docs/v2/core/models/DecimalTypeDict.md @@ -5,8 +5,8 @@ DecimalType ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**scale** | pydantic.StrictInt | Yes | The number of digits to the right of the decimal point. The maximum value is 38. | -**precision** | pydantic.StrictInt | Yes | The total number of digits of the Decimal type. The maximum value is 38. | +**scale** | int | Yes | The number of digits to the right of the decimal point. The maximum value is 38. | +**precision** | int | Yes | The total number of digits of the Decimal type. The maximum value is 38. | **type** | Literal["decimal"] | Yes | None | diff --git a/docs/v2/core/models/DisplayName.md b/docs/v2/core/models/DisplayName.md index 8e2710e9..f326538c 100644 --- a/docs/v2/core/models/DisplayName.md +++ b/docs/v2/core/models/DisplayName.md @@ -4,7 +4,7 @@ The display name of the entity. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/core/models/Distance.md b/docs/v2/core/models/Distance.md index 45bafb09..03fc6345 100644 --- a/docs/v2/core/models/Distance.md +++ b/docs/v2/core/models/Distance.md @@ -5,7 +5,7 @@ A measurement of distance. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**value** | pydantic.StrictFloat | Yes | | +**value** | float | Yes | | **unit** | DistanceUnit | Yes | | diff --git a/docs/v2/core/models/DistanceDict.md b/docs/v2/core/models/DistanceDict.md index b7bb7f4e..063d47b1 100644 --- a/docs/v2/core/models/DistanceDict.md +++ b/docs/v2/core/models/DistanceDict.md @@ -5,7 +5,7 @@ A measurement of distance. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**value** | pydantic.StrictFloat | Yes | | +**value** | float | Yes | | **unit** | DistanceUnit | Yes | | diff --git a/docs/v2/core/models/Duration.md b/docs/v2/core/models/Duration.md index e5723f80..10d85e9e 100644 --- a/docs/v2/core/models/Duration.md +++ b/docs/v2/core/models/Duration.md @@ -5,7 +5,7 @@ A measurement of duration. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**value** | pydantic.StrictInt | Yes | The duration value. | +**value** | int | Yes | The duration value. | **unit** | TimeUnit | Yes | The unit of duration. | diff --git a/docs/v2/core/models/DurationDict.md b/docs/v2/core/models/DurationDict.md index 46336196..128b5e88 100644 --- a/docs/v2/core/models/DurationDict.md +++ b/docs/v2/core/models/DurationDict.md @@ -5,7 +5,7 @@ A measurement of duration. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**value** | pydantic.StrictInt | Yes | The duration value. | +**value** | int | Yes | The duration value. | **unit** | TimeUnit | Yes | The unit of duration. | diff --git a/docs/v2/core/models/FieldName.md b/docs/v2/core/models/FieldName.md index 8667ac5b..cd5f3675 100644 --- a/docs/v2/core/models/FieldName.md +++ b/docs/v2/core/models/FieldName.md @@ -4,7 +4,7 @@ FieldName ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/core/models/FieldSchema.md b/docs/v2/core/models/FieldSchema.md index efcd4250..0d24dc20 100644 --- a/docs/v2/core/models/FieldSchema.md +++ b/docs/v2/core/models/FieldSchema.md @@ -6,7 +6,7 @@ The specification of the type of a Foundry schema field. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**nullable** | pydantic.StrictBool | Yes | | +**nullable** | bool | Yes | | **custom_metadata** | Optional[CustomMetadata] | No | | **data_type** | FieldDataType | Yes | | diff --git a/docs/v2/core/models/FieldSchemaDict.md b/docs/v2/core/models/FieldSchemaDict.md index ec1659e5..5b13a395 100644 --- a/docs/v2/core/models/FieldSchemaDict.md +++ b/docs/v2/core/models/FieldSchemaDict.md @@ -6,7 +6,7 @@ The specification of the type of a Foundry schema field. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**nullable** | pydantic.StrictBool | Yes | | +**nullable** | bool | Yes | | **customMetadata** | NotRequired[CustomMetadata] | No | | **dataType** | FieldDataTypeDict | Yes | | diff --git a/docs/v2/core/models/FilePath.md b/docs/v2/core/models/FilePath.md index 3932f027..8c1c6420 100644 --- a/docs/v2/core/models/FilePath.md +++ b/docs/v2/core/models/FilePath.md @@ -5,7 +5,7 @@ The path to a File within Foundry. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/core/models/Filename.md b/docs/v2/core/models/Filename.md index a860ac32..065baa2d 100644 --- a/docs/v2/core/models/Filename.md +++ b/docs/v2/core/models/Filename.md @@ -5,7 +5,7 @@ The name of a File within Foundry. Examples: `my-file.txt`, `my-file.jpg`, `data ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/core/models/MediaType.md b/docs/v2/core/models/MediaType.md index 4091bacb..38ceb68c 100644 --- a/docs/v2/core/models/MediaType.md +++ b/docs/v2/core/models/MediaType.md @@ -6,7 +6,7 @@ Examples: `application/json`, `application/pdf`, `application/octet-stream`, `im ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/core/models/PageSize.md b/docs/v2/core/models/PageSize.md index 94de4782..545f11f4 100644 --- a/docs/v2/core/models/PageSize.md +++ b/docs/v2/core/models/PageSize.md @@ -4,7 +4,7 @@ The page size to use for the endpoint. ## Type ```python -pydantic.StrictInt +int ``` diff --git a/docs/v2/core/models/PageToken.md b/docs/v2/core/models/PageToken.md index 14cfba03..6a3ea20a 100644 --- a/docs/v2/core/models/PageToken.md +++ b/docs/v2/core/models/PageToken.md @@ -6,7 +6,7 @@ and use it to populate the `pageToken` field of the next request. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/core/models/PreviewMode.md b/docs/v2/core/models/PreviewMode.md index 56def319..b1468126 100644 --- a/docs/v2/core/models/PreviewMode.md +++ b/docs/v2/core/models/PreviewMode.md @@ -4,7 +4,7 @@ Enables the use of preview functionality. ## Type ```python -pydantic.StrictBool +bool ``` diff --git a/docs/v2/core/models/PrincipalId.md b/docs/v2/core/models/PrincipalId.md index 95c3e0e1..e8dcf7c0 100644 --- a/docs/v2/core/models/PrincipalId.md +++ b/docs/v2/core/models/PrincipalId.md @@ -4,7 +4,7 @@ The ID of a Foundry Group or User. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/core/models/Realm.md b/docs/v2/core/models/Realm.md index c12d182d..2f4f6810 100644 --- a/docs/v2/core/models/Realm.md +++ b/docs/v2/core/models/Realm.md @@ -6,7 +6,7 @@ The `palantir-internal-realm` is used for Users or Groups that are created in Fo ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/core/models/SizeBytes.md b/docs/v2/core/models/SizeBytes.md index abfa3f6b..9fadba90 100644 --- a/docs/v2/core/models/SizeBytes.md +++ b/docs/v2/core/models/SizeBytes.md @@ -4,7 +4,7 @@ The size of the file or attachment in bytes. ## Type ```python -pydantic.StrictStr +Long ``` diff --git a/docs/v2/core/models/StructFieldName.md b/docs/v2/core/models/StructFieldName.md index aea0ab3e..eb543b79 100644 --- a/docs/v2/core/models/StructFieldName.md +++ b/docs/v2/core/models/StructFieldName.md @@ -5,7 +5,7 @@ The name of a field in a `Struct`. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/core/models/TotalCount.md b/docs/v2/core/models/TotalCount.md index 411b37cb..d428130e 100644 --- a/docs/v2/core/models/TotalCount.md +++ b/docs/v2/core/models/TotalCount.md @@ -5,7 +5,7 @@ The total number of items across all pages. ## Type ```python -pydantic.StrictStr +Long ``` diff --git a/docs/v2/core/models/UnsupportedType.md b/docs/v2/core/models/UnsupportedType.md index ac077839..271fa007 100644 --- a/docs/v2/core/models/UnsupportedType.md +++ b/docs/v2/core/models/UnsupportedType.md @@ -5,7 +5,7 @@ UnsupportedType ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**unsupported_type** | pydantic.StrictStr | Yes | | +**unsupported_type** | str | Yes | | **type** | Literal["unsupported"] | Yes | None | diff --git a/docs/v2/core/models/UnsupportedTypeDict.md b/docs/v2/core/models/UnsupportedTypeDict.md index 4007bd9e..245033a3 100644 --- a/docs/v2/core/models/UnsupportedTypeDict.md +++ b/docs/v2/core/models/UnsupportedTypeDict.md @@ -5,7 +5,7 @@ UnsupportedType ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**unsupportedType** | pydantic.StrictStr | Yes | | +**unsupportedType** | str | Yes | | **type** | Literal["unsupported"] | Yes | None | diff --git a/docs/v2/core/models/ZoneId.md b/docs/v2/core/models/ZoneId.md index 627c2ca4..ed9e4c94 100644 --- a/docs/v2/core/models/ZoneId.md +++ b/docs/v2/core/models/ZoneId.md @@ -4,7 +4,7 @@ A string representation of a java.time.ZoneId ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/datasets/models/BranchName.md b/docs/v2/datasets/models/BranchName.md index 8a617822..54e30ef5 100644 --- a/docs/v2/datasets/models/BranchName.md +++ b/docs/v2/datasets/models/BranchName.md @@ -5,7 +5,7 @@ The name of a Branch. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/datasets/models/DatasetName.md b/docs/v2/datasets/models/DatasetName.md index c578e648..e9a38a11 100644 --- a/docs/v2/datasets/models/DatasetName.md +++ b/docs/v2/datasets/models/DatasetName.md @@ -4,7 +4,7 @@ DatasetName ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/datasets/models/File.md b/docs/v2/datasets/models/File.md index 8d022d9e..d8cd9ea3 100644 --- a/docs/v2/datasets/models/File.md +++ b/docs/v2/datasets/models/File.md @@ -7,7 +7,7 @@ File | ------------ | ------------- | ------------- | ------------- | **path** | FilePath | Yes | | **transaction_rid** | TransactionRid | Yes | | -**size_bytes** | Optional[pydantic.StrictStr] | No | | +**size_bytes** | Optional[Long] | No | | **updated_time** | FileUpdatedTime | Yes | | diff --git a/docs/v2/datasets/models/FileDict.md b/docs/v2/datasets/models/FileDict.md index 2def9477..8822bf01 100644 --- a/docs/v2/datasets/models/FileDict.md +++ b/docs/v2/datasets/models/FileDict.md @@ -7,7 +7,7 @@ File | ------------ | ------------- | ------------- | ------------- | **path** | FilePath | Yes | | **transactionRid** | TransactionRid | Yes | | -**sizeBytes** | NotRequired[pydantic.StrictStr] | No | | +**sizeBytes** | NotRequired[Long] | No | | **updatedTime** | FileUpdatedTime | Yes | | diff --git a/docs/v2/filesystem/models/Folder.md b/docs/v2/filesystem/models/Folder.md index df915602..976f9da3 100644 --- a/docs/v2/filesystem/models/Folder.md +++ b/docs/v2/filesystem/models/Folder.md @@ -7,8 +7,8 @@ Folder | ------------ | ------------- | ------------- | ------------- | **rid** | FolderRid | Yes | | **display_name** | ResourceDisplayName | Yes | | -**description** | Optional[pydantic.StrictStr] | No | The description associated with the Folder. | -**documentation** | Optional[pydantic.StrictStr] | No | The documentation associated with the Folder. | +**description** | Optional[str] | No | The description associated with the Folder. | +**documentation** | Optional[str] | No | The documentation associated with the Folder. | **path** | ResourcePath | Yes | | **type** | FolderType | Yes | | **created_by** | CreatedBy | Yes | | diff --git a/docs/v2/filesystem/models/FolderDict.md b/docs/v2/filesystem/models/FolderDict.md index 9361172d..102258b2 100644 --- a/docs/v2/filesystem/models/FolderDict.md +++ b/docs/v2/filesystem/models/FolderDict.md @@ -7,8 +7,8 @@ Folder | ------------ | ------------- | ------------- | ------------- | **rid** | FolderRid | Yes | | **displayName** | ResourceDisplayName | Yes | | -**description** | NotRequired[pydantic.StrictStr] | No | The description associated with the Folder. | -**documentation** | NotRequired[pydantic.StrictStr] | No | The documentation associated with the Folder. | +**description** | NotRequired[str] | No | The description associated with the Folder. | +**documentation** | NotRequired[str] | No | The documentation associated with the Folder. | **path** | ResourcePath | Yes | | **type** | FolderType | Yes | | **createdBy** | CreatedBy | Yes | | diff --git a/docs/v2/filesystem/models/IsDirectlyApplied.md b/docs/v2/filesystem/models/IsDirectlyApplied.md index 08e4cfbe..5f2e66b6 100644 --- a/docs/v2/filesystem/models/IsDirectlyApplied.md +++ b/docs/v2/filesystem/models/IsDirectlyApplied.md @@ -6,7 +6,7 @@ to a parent resource and inherited by the current resource. ## Type ```python -pydantic.StrictBool +bool ``` diff --git a/docs/v2/filesystem/models/Project.md b/docs/v2/filesystem/models/Project.md index e9f3a1cc..35108ad9 100644 --- a/docs/v2/filesystem/models/Project.md +++ b/docs/v2/filesystem/models/Project.md @@ -7,8 +7,8 @@ Project | ------------ | ------------- | ------------- | ------------- | **rid** | ProjectRid | Yes | | **display_name** | ResourceDisplayName | Yes | The display name of the Project. Must be unique and cannot contain a / | -**description** | Optional[pydantic.StrictStr] | No | The description associated with the Project. | -**documentation** | Optional[pydantic.StrictStr] | No | The documentation associated with the Project. | +**description** | Optional[str] | No | The description associated with the Project. | +**documentation** | Optional[str] | No | The documentation associated with the Project. | **path** | ResourcePath | Yes | | **created_by** | CreatedBy | Yes | | **updated_by** | UpdatedBy | Yes | | diff --git a/docs/v2/filesystem/models/ProjectDict.md b/docs/v2/filesystem/models/ProjectDict.md index 0b6e7646..45943fed 100644 --- a/docs/v2/filesystem/models/ProjectDict.md +++ b/docs/v2/filesystem/models/ProjectDict.md @@ -7,8 +7,8 @@ Project | ------------ | ------------- | ------------- | ------------- | **rid** | ProjectRid | Yes | | **displayName** | ResourceDisplayName | Yes | The display name of the Project. Must be unique and cannot contain a / | -**description** | NotRequired[pydantic.StrictStr] | No | The description associated with the Project. | -**documentation** | NotRequired[pydantic.StrictStr] | No | The documentation associated with the Project. | +**description** | NotRequired[str] | No | The description associated with the Project. | +**documentation** | NotRequired[str] | No | The documentation associated with the Project. | **path** | ResourcePath | Yes | | **createdBy** | CreatedBy | Yes | | **updatedBy** | UpdatedBy | Yes | | diff --git a/docs/v2/filesystem/models/Resource.md b/docs/v2/filesystem/models/Resource.md index de547356..2cf130f6 100644 --- a/docs/v2/filesystem/models/Resource.md +++ b/docs/v2/filesystem/models/Resource.md @@ -7,8 +7,8 @@ Resource | ------------ | ------------- | ------------- | ------------- | **rid** | ResourceRid | Yes | | **display_name** | ResourceDisplayName | Yes | The display name of the Resource | -**description** | Optional[pydantic.StrictStr] | No | The description of the Resource | -**documentation** | Optional[pydantic.StrictStr] | No | The documentation associated with the Resource | +**description** | Optional[str] | No | The description of the Resource | +**documentation** | Optional[str] | No | The documentation associated with the Resource | **path** | ResourcePath | Yes | The full path to the resource, including the resource name itself | **type** | ResourceType | Yes | The type of the Resource derived from the Resource Identifier (RID). | **created_by** | CreatedBy | Yes | The user that created the Resource. | diff --git a/docs/v2/filesystem/models/ResourceDict.md b/docs/v2/filesystem/models/ResourceDict.md index 3599fcbb..de013f27 100644 --- a/docs/v2/filesystem/models/ResourceDict.md +++ b/docs/v2/filesystem/models/ResourceDict.md @@ -7,8 +7,8 @@ Resource | ------------ | ------------- | ------------- | ------------- | **rid** | ResourceRid | Yes | | **displayName** | ResourceDisplayName | Yes | The display name of the Resource | -**description** | NotRequired[pydantic.StrictStr] | No | The description of the Resource | -**documentation** | NotRequired[pydantic.StrictStr] | No | The documentation associated with the Resource | +**description** | NotRequired[str] | No | The description of the Resource | +**documentation** | NotRequired[str] | No | The documentation associated with the Resource | **path** | ResourcePath | Yes | The full path to the resource, including the resource name itself | **type** | ResourceType | Yes | The type of the Resource derived from the Resource Identifier (RID). | **createdBy** | CreatedBy | Yes | The user that created the Resource. | diff --git a/docs/v2/filesystem/models/ResourceDisplayName.md b/docs/v2/filesystem/models/ResourceDisplayName.md index 22faee48..08fec002 100644 --- a/docs/v2/filesystem/models/ResourceDisplayName.md +++ b/docs/v2/filesystem/models/ResourceDisplayName.md @@ -4,7 +4,7 @@ The display name of the Resource ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/filesystem/models/ResourcePath.md b/docs/v2/filesystem/models/ResourcePath.md index 88eb879e..45b08d0c 100644 --- a/docs/v2/filesystem/models/ResourcePath.md +++ b/docs/v2/filesystem/models/ResourcePath.md @@ -4,7 +4,7 @@ The full path to the resource, including the resource name itself ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/functions/models/FunctionVersion.md b/docs/v2/functions/models/FunctionVersion.md index fe974ba1..7a8f4565 100644 --- a/docs/v2/functions/models/FunctionVersion.md +++ b/docs/v2/functions/models/FunctionVersion.md @@ -6,7 +6,7 @@ Examples: `1.2.3`, `1.2.3-rc1`. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/functions/models/Parameter.md b/docs/v2/functions/models/Parameter.md index 4df5859b..d90aaa77 100644 --- a/docs/v2/functions/models/Parameter.md +++ b/docs/v2/functions/models/Parameter.md @@ -5,7 +5,7 @@ Details about a parameter of a query. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**description** | Optional[pydantic.StrictStr] | No | | +**description** | Optional[str] | No | | **data_type** | QueryDataType | Yes | | diff --git a/docs/v2/functions/models/ParameterDict.md b/docs/v2/functions/models/ParameterDict.md index 45ff9707..c8f03798 100644 --- a/docs/v2/functions/models/ParameterDict.md +++ b/docs/v2/functions/models/ParameterDict.md @@ -5,7 +5,7 @@ Details about a parameter of a query. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**description** | NotRequired[pydantic.StrictStr] | No | | +**description** | NotRequired[str] | No | | **dataType** | QueryDataTypeDict | Yes | | diff --git a/docs/v2/functions/models/ParameterId.md b/docs/v2/functions/models/ParameterId.md index 61c52b89..b6c2637d 100644 --- a/docs/v2/functions/models/ParameterId.md +++ b/docs/v2/functions/models/ParameterId.md @@ -6,7 +6,7 @@ Parameters can be viewed and managed in the **Ontology Manager**. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/functions/models/Query.md b/docs/v2/functions/models/Query.md index 786d1ad7..09a2f24e 100644 --- a/docs/v2/functions/models/Query.md +++ b/docs/v2/functions/models/Query.md @@ -6,7 +6,7 @@ Query | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **api_name** | QueryApiName | Yes | | -**description** | Optional[pydantic.StrictStr] | No | | +**description** | Optional[str] | No | | **display_name** | Optional[DisplayName] | No | | **parameters** | Dict[ParameterId, Parameter] | Yes | | **output** | QueryDataType | Yes | | diff --git a/docs/v2/functions/models/QueryApiName.md b/docs/v2/functions/models/QueryApiName.md index 6c19428e..49568ce9 100644 --- a/docs/v2/functions/models/QueryApiName.md +++ b/docs/v2/functions/models/QueryApiName.md @@ -4,7 +4,7 @@ The name of the Query in the API. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/functions/models/QueryDict.md b/docs/v2/functions/models/QueryDict.md index b139ecb1..006f2767 100644 --- a/docs/v2/functions/models/QueryDict.md +++ b/docs/v2/functions/models/QueryDict.md @@ -6,7 +6,7 @@ Query | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **apiName** | QueryApiName | Yes | | -**description** | NotRequired[pydantic.StrictStr] | No | | +**description** | NotRequired[str] | No | | **displayName** | NotRequired[DisplayName] | No | | **parameters** | Dict[ParameterId, ParameterDict] | Yes | | **output** | QueryDataTypeDict | Yes | | diff --git a/docs/v2/functions/models/QueryRuntimeErrorParameter.md b/docs/v2/functions/models/QueryRuntimeErrorParameter.md index 22aaaf90..09eb0af3 100644 --- a/docs/v2/functions/models/QueryRuntimeErrorParameter.md +++ b/docs/v2/functions/models/QueryRuntimeErrorParameter.md @@ -4,7 +4,7 @@ QueryRuntimeErrorParameter ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/functions/models/StructFieldName.md b/docs/v2/functions/models/StructFieldName.md index aea0ab3e..eb543b79 100644 --- a/docs/v2/functions/models/StructFieldName.md +++ b/docs/v2/functions/models/StructFieldName.md @@ -5,7 +5,7 @@ The name of a field in a `Struct`. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/functions/models/ValueTypeApiName.md b/docs/v2/functions/models/ValueTypeApiName.md index f1633d28..29f46d94 100644 --- a/docs/v2/functions/models/ValueTypeApiName.md +++ b/docs/v2/functions/models/ValueTypeApiName.md @@ -4,7 +4,7 @@ The registered API name for the value type. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/functions/models/ValueTypeDataTypeStructFieldIdentifier.md b/docs/v2/functions/models/ValueTypeDataTypeStructFieldIdentifier.md index d3ac3544..3119cbb0 100644 --- a/docs/v2/functions/models/ValueTypeDataTypeStructFieldIdentifier.md +++ b/docs/v2/functions/models/ValueTypeDataTypeStructFieldIdentifier.md @@ -4,7 +4,7 @@ ValueTypeDataTypeStructFieldIdentifier ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/functions/models/ValueTypeDescription.md b/docs/v2/functions/models/ValueTypeDescription.md index fa5e483a..f89c5485 100644 --- a/docs/v2/functions/models/ValueTypeDescription.md +++ b/docs/v2/functions/models/ValueTypeDescription.md @@ -5,7 +5,7 @@ A description of the value type. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/functions/models/ValueTypeVersion.md b/docs/v2/functions/models/ValueTypeVersion.md index 7e776603..ba690a2f 100644 --- a/docs/v2/functions/models/ValueTypeVersion.md +++ b/docs/v2/functions/models/ValueTypeVersion.md @@ -5,7 +5,7 @@ The version of a value type that has been registered in the Ontology. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/geo/models/Coordinate.md b/docs/v2/geo/models/Coordinate.md index 985da343..9d199b90 100644 --- a/docs/v2/geo/models/Coordinate.md +++ b/docs/v2/geo/models/Coordinate.md @@ -4,7 +4,7 @@ Coordinate ## Type ```python -pydantic.StrictFloat +float ``` diff --git a/docs/v2/ontologies/models/ActionParameterV2.md b/docs/v2/ontologies/models/ActionParameterV2.md index b87db3dd..e49699c1 100644 --- a/docs/v2/ontologies/models/ActionParameterV2.md +++ b/docs/v2/ontologies/models/ActionParameterV2.md @@ -5,9 +5,9 @@ Details about a parameter of an action. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**description** | Optional[pydantic.StrictStr] | No | | +**description** | Optional[str] | No | | **data_type** | ActionParameterType | Yes | | -**required** | pydantic.StrictBool | Yes | | +**required** | bool | Yes | | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/ontologies/models/ActionParameterV2Dict.md b/docs/v2/ontologies/models/ActionParameterV2Dict.md index 237f0896..ef886baf 100644 --- a/docs/v2/ontologies/models/ActionParameterV2Dict.md +++ b/docs/v2/ontologies/models/ActionParameterV2Dict.md @@ -5,9 +5,9 @@ Details about a parameter of an action. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**description** | NotRequired[pydantic.StrictStr] | No | | +**description** | NotRequired[str] | No | | **dataType** | ActionParameterTypeDict | Yes | | -**required** | pydantic.StrictBool | Yes | | +**required** | bool | Yes | | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/ontologies/models/ActionTypeApiName.md b/docs/v2/ontologies/models/ActionTypeApiName.md index fd1439e3..34de0f17 100644 --- a/docs/v2/ontologies/models/ActionTypeApiName.md +++ b/docs/v2/ontologies/models/ActionTypeApiName.md @@ -6,7 +6,7 @@ endpoint or check the **Ontology Manager**. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/ActionTypeV2.md b/docs/v2/ontologies/models/ActionTypeV2.md index e2844f3a..ec03c76e 100644 --- a/docs/v2/ontologies/models/ActionTypeV2.md +++ b/docs/v2/ontologies/models/ActionTypeV2.md @@ -6,7 +6,7 @@ Represents an action type in the Ontology. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **api_name** | ActionTypeApiName | Yes | | -**description** | Optional[pydantic.StrictStr] | No | | +**description** | Optional[str] | No | | **display_name** | Optional[DisplayName] | No | | **status** | ReleaseStatus | Yes | | **parameters** | Dict[ParameterId, ActionParameterV2] | Yes | | diff --git a/docs/v2/ontologies/models/ActionTypeV2Dict.md b/docs/v2/ontologies/models/ActionTypeV2Dict.md index aaa94ae5..55fe745f 100644 --- a/docs/v2/ontologies/models/ActionTypeV2Dict.md +++ b/docs/v2/ontologies/models/ActionTypeV2Dict.md @@ -6,7 +6,7 @@ Represents an action type in the Ontology. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **apiName** | ActionTypeApiName | Yes | | -**description** | NotRequired[pydantic.StrictStr] | No | | +**description** | NotRequired[str] | No | | **displayName** | NotRequired[DisplayName] | No | | **status** | ReleaseStatus | Yes | | **parameters** | Dict[ParameterId, ActionParameterV2Dict] | Yes | | diff --git a/docs/v2/ontologies/models/AggregateObjectsResponseV2.md b/docs/v2/ontologies/models/AggregateObjectsResponseV2.md index 96148b61..2e5e736b 100644 --- a/docs/v2/ontologies/models/AggregateObjectsResponseV2.md +++ b/docs/v2/ontologies/models/AggregateObjectsResponseV2.md @@ -5,7 +5,7 @@ AggregateObjectsResponseV2 ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**excluded_items** | Optional[pydantic.StrictInt] | No | | +**excluded_items** | Optional[int] | No | | **accuracy** | AggregationAccuracy | Yes | | **data** | List[AggregateObjectsResponseItemV2] | Yes | | diff --git a/docs/v2/ontologies/models/AggregateObjectsResponseV2Dict.md b/docs/v2/ontologies/models/AggregateObjectsResponseV2Dict.md index 0a32a90b..19ba32eb 100644 --- a/docs/v2/ontologies/models/AggregateObjectsResponseV2Dict.md +++ b/docs/v2/ontologies/models/AggregateObjectsResponseV2Dict.md @@ -5,7 +5,7 @@ AggregateObjectsResponseV2 ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**excludedItems** | NotRequired[pydantic.StrictInt] | No | | +**excludedItems** | NotRequired[int] | No | | **accuracy** | AggregationAccuracy | Yes | | **data** | List[AggregateObjectsResponseItemV2Dict] | Yes | | diff --git a/docs/v2/ontologies/models/AggregationDurationGroupingV2Dict.md b/docs/v2/ontologies/models/AggregationDurationGroupingV2Dict.md index 3211bdf8..27faa479 100644 --- a/docs/v2/ontologies/models/AggregationDurationGroupingV2Dict.md +++ b/docs/v2/ontologies/models/AggregationDurationGroupingV2Dict.md @@ -8,7 +8,7 @@ When grouping by `YEARS`, `QUARTERS`, `MONTHS`, or `WEEKS`, the `value` must be | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | PropertyApiName | Yes | | -**value** | pydantic.StrictInt | Yes | | +**value** | int | Yes | | **unit** | TimeUnit | Yes | | **type** | Literal["duration"] | Yes | None | diff --git a/docs/v2/ontologies/models/AggregationExactGroupingV2Dict.md b/docs/v2/ontologies/models/AggregationExactGroupingV2Dict.md index 26a62c8a..8be86673 100644 --- a/docs/v2/ontologies/models/AggregationExactGroupingV2Dict.md +++ b/docs/v2/ontologies/models/AggregationExactGroupingV2Dict.md @@ -6,7 +6,7 @@ Divides objects into groups according to an exact value. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | PropertyApiName | Yes | | -**maxGroupCount** | NotRequired[pydantic.StrictInt] | No | | +**maxGroupCount** | NotRequired[int] | No | | **type** | Literal["exact"] | Yes | None | diff --git a/docs/v2/ontologies/models/AggregationFixedWidthGroupingV2Dict.md b/docs/v2/ontologies/models/AggregationFixedWidthGroupingV2Dict.md index 5799b21a..afc26fb0 100644 --- a/docs/v2/ontologies/models/AggregationFixedWidthGroupingV2Dict.md +++ b/docs/v2/ontologies/models/AggregationFixedWidthGroupingV2Dict.md @@ -6,7 +6,7 @@ Divides objects into groups with the specified width. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | PropertyApiName | Yes | | -**fixedWidth** | pydantic.StrictInt | Yes | | +**fixedWidth** | int | Yes | | **type** | Literal["fixedWidth"] | Yes | None | diff --git a/docs/v2/ontologies/models/AggregationGroupKeyV2.md b/docs/v2/ontologies/models/AggregationGroupKeyV2.md index 527a23d9..9a8dd404 100644 --- a/docs/v2/ontologies/models/AggregationGroupKeyV2.md +++ b/docs/v2/ontologies/models/AggregationGroupKeyV2.md @@ -4,7 +4,7 @@ AggregationGroupKeyV2 ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/AggregationMetricName.md b/docs/v2/ontologies/models/AggregationMetricName.md index 786416c2..8968dabe 100644 --- a/docs/v2/ontologies/models/AggregationMetricName.md +++ b/docs/v2/ontologies/models/AggregationMetricName.md @@ -4,7 +4,7 @@ A user-specified alias for an aggregation metric name. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/AggregationMetricResultV2.md b/docs/v2/ontologies/models/AggregationMetricResultV2.md index 89bee057..367bc2ff 100644 --- a/docs/v2/ontologies/models/AggregationMetricResultV2.md +++ b/docs/v2/ontologies/models/AggregationMetricResultV2.md @@ -5,7 +5,7 @@ AggregationMetricResultV2 ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**name** | pydantic.StrictStr | Yes | | +**name** | str | Yes | | **value** | Optional[Any] | No | The value of the metric. This will be a double in the case of a numeric metric, or a date string in the case of a date metric. | diff --git a/docs/v2/ontologies/models/AggregationMetricResultV2Dict.md b/docs/v2/ontologies/models/AggregationMetricResultV2Dict.md index 46599960..4477c66c 100644 --- a/docs/v2/ontologies/models/AggregationMetricResultV2Dict.md +++ b/docs/v2/ontologies/models/AggregationMetricResultV2Dict.md @@ -5,7 +5,7 @@ AggregationMetricResultV2 ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**name** | pydantic.StrictStr | Yes | | +**name** | str | Yes | | **value** | NotRequired[Any] | No | The value of the metric. This will be a double in the case of a numeric metric, or a date string in the case of a date metric. | diff --git a/docs/v2/ontologies/models/ApproximatePercentileAggregationV2Dict.md b/docs/v2/ontologies/models/ApproximatePercentileAggregationV2Dict.md index cf71b08c..2febaace 100644 --- a/docs/v2/ontologies/models/ApproximatePercentileAggregationV2Dict.md +++ b/docs/v2/ontologies/models/ApproximatePercentileAggregationV2Dict.md @@ -7,7 +7,7 @@ Computes the approximate percentile value for the provided field. Requires Objec | ------------ | ------------- | ------------- | ------------- | **field** | PropertyApiName | Yes | | **name** | NotRequired[AggregationMetricName] | No | | -**approximatePercentile** | pydantic.StrictFloat | Yes | | +**approximatePercentile** | float | Yes | | **direction** | NotRequired[OrderByDirection] | No | | **type** | Literal["approximatePercentile"] | Yes | None | diff --git a/docs/v2/ontologies/models/BlueprintIcon.md b/docs/v2/ontologies/models/BlueprintIcon.md index 0f1b206b..78ad9d72 100644 --- a/docs/v2/ontologies/models/BlueprintIcon.md +++ b/docs/v2/ontologies/models/BlueprintIcon.md @@ -5,8 +5,8 @@ BlueprintIcon ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**color** | pydantic.StrictStr | Yes | A hexadecimal color code. | -**name** | pydantic.StrictStr | Yes | The [name](https://blueprintjs.com/docs/#icons/icons-list) of the Blueprint icon. Used to specify the Blueprint icon to represent the object type in a React app. | +**color** | str | Yes | A hexadecimal color code. | +**name** | str | Yes | The [name](https://blueprintjs.com/docs/#icons/icons-list) of the Blueprint icon. Used to specify the Blueprint icon to represent the object type in a React app. | **type** | Literal["blueprint"] | Yes | None | diff --git a/docs/v2/ontologies/models/BlueprintIconDict.md b/docs/v2/ontologies/models/BlueprintIconDict.md index a889214a..cd1ca7e4 100644 --- a/docs/v2/ontologies/models/BlueprintIconDict.md +++ b/docs/v2/ontologies/models/BlueprintIconDict.md @@ -5,8 +5,8 @@ BlueprintIcon ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**color** | pydantic.StrictStr | Yes | A hexadecimal color code. | -**name** | pydantic.StrictStr | Yes | The [name](https://blueprintjs.com/docs/#icons/icons-list) of the Blueprint icon. Used to specify the Blueprint icon to represent the object type in a React app. | +**color** | str | Yes | A hexadecimal color code. | +**name** | str | Yes | The [name](https://blueprintjs.com/docs/#icons/icons-list) of the Blueprint icon. Used to specify the Blueprint icon to represent the object type in a React app. | **type** | Literal["blueprint"] | Yes | None | diff --git a/docs/v2/ontologies/models/ContainsAllTermsInOrderPrefixLastTerm.md b/docs/v2/ontologies/models/ContainsAllTermsInOrderPrefixLastTerm.md index 4c82ad84..77f27215 100644 --- a/docs/v2/ontologies/models/ContainsAllTermsInOrderPrefixLastTerm.md +++ b/docs/v2/ontologies/models/ContainsAllTermsInOrderPrefixLastTerm.md @@ -9,7 +9,7 @@ The last term can be a partial prefix match. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | PropertyApiName | Yes | | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | **type** | Literal["containsAllTermsInOrderPrefixLastTerm"] | Yes | None | diff --git a/docs/v2/ontologies/models/ContainsAllTermsInOrderPrefixLastTermDict.md b/docs/v2/ontologies/models/ContainsAllTermsInOrderPrefixLastTermDict.md index ba28678b..59f678d3 100644 --- a/docs/v2/ontologies/models/ContainsAllTermsInOrderPrefixLastTermDict.md +++ b/docs/v2/ontologies/models/ContainsAllTermsInOrderPrefixLastTermDict.md @@ -9,7 +9,7 @@ The last term can be a partial prefix match. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | PropertyApiName | Yes | | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | **type** | Literal["containsAllTermsInOrderPrefixLastTerm"] | Yes | None | diff --git a/docs/v2/ontologies/models/ContainsAllTermsInOrderQuery.md b/docs/v2/ontologies/models/ContainsAllTermsInOrderQuery.md index 0c33b037..5615336c 100644 --- a/docs/v2/ontologies/models/ContainsAllTermsInOrderQuery.md +++ b/docs/v2/ontologies/models/ContainsAllTermsInOrderQuery.md @@ -8,7 +8,7 @@ but they do have to be adjacent to each other. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | PropertyApiName | Yes | | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | **type** | Literal["containsAllTermsInOrder"] | Yes | None | diff --git a/docs/v2/ontologies/models/ContainsAllTermsInOrderQueryDict.md b/docs/v2/ontologies/models/ContainsAllTermsInOrderQueryDict.md index 50d3e914..2ffbc33e 100644 --- a/docs/v2/ontologies/models/ContainsAllTermsInOrderQueryDict.md +++ b/docs/v2/ontologies/models/ContainsAllTermsInOrderQueryDict.md @@ -8,7 +8,7 @@ but they do have to be adjacent to each other. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | PropertyApiName | Yes | | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | **type** | Literal["containsAllTermsInOrder"] | Yes | None | diff --git a/docs/v2/ontologies/models/ContainsAllTermsQuery.md b/docs/v2/ontologies/models/ContainsAllTermsQuery.md index 463ea8ed..09d196fc 100644 --- a/docs/v2/ontologies/models/ContainsAllTermsQuery.md +++ b/docs/v2/ontologies/models/ContainsAllTermsQuery.md @@ -8,7 +8,7 @@ order in the provided value. This query supports fuzzy matching. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | PropertyApiName | Yes | | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | **fuzzy** | Optional[FuzzyV2] | No | | **type** | Literal["containsAllTerms"] | Yes | None | diff --git a/docs/v2/ontologies/models/ContainsAllTermsQueryDict.md b/docs/v2/ontologies/models/ContainsAllTermsQueryDict.md index ce01317e..3ed45ccf 100644 --- a/docs/v2/ontologies/models/ContainsAllTermsQueryDict.md +++ b/docs/v2/ontologies/models/ContainsAllTermsQueryDict.md @@ -8,7 +8,7 @@ order in the provided value. This query supports fuzzy matching. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | PropertyApiName | Yes | | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | **fuzzy** | NotRequired[FuzzyV2] | No | | **type** | Literal["containsAllTerms"] | Yes | None | diff --git a/docs/v2/ontologies/models/ContainsAnyTermQuery.md b/docs/v2/ontologies/models/ContainsAnyTermQuery.md index fd779009..9ed045a8 100644 --- a/docs/v2/ontologies/models/ContainsAnyTermQuery.md +++ b/docs/v2/ontologies/models/ContainsAnyTermQuery.md @@ -8,7 +8,7 @@ order in the provided value. This query supports fuzzy matching. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | PropertyApiName | Yes | | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | **fuzzy** | Optional[FuzzyV2] | No | | **type** | Literal["containsAnyTerm"] | Yes | None | diff --git a/docs/v2/ontologies/models/ContainsAnyTermQueryDict.md b/docs/v2/ontologies/models/ContainsAnyTermQueryDict.md index 4918f0dc..f395b13d 100644 --- a/docs/v2/ontologies/models/ContainsAnyTermQueryDict.md +++ b/docs/v2/ontologies/models/ContainsAnyTermQueryDict.md @@ -8,7 +8,7 @@ order in the provided value. This query supports fuzzy matching. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | PropertyApiName | Yes | | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | **fuzzy** | NotRequired[FuzzyV2] | No | | **type** | Literal["containsAnyTerm"] | Yes | None | diff --git a/docs/v2/ontologies/models/CountObjectsResponseV2.md b/docs/v2/ontologies/models/CountObjectsResponseV2.md index 07955445..57ad7056 100644 --- a/docs/v2/ontologies/models/CountObjectsResponseV2.md +++ b/docs/v2/ontologies/models/CountObjectsResponseV2.md @@ -5,7 +5,7 @@ CountObjectsResponseV2 ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**count** | Optional[pydantic.StrictInt] | No | | +**count** | Optional[int] | No | | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/ontologies/models/CountObjectsResponseV2Dict.md b/docs/v2/ontologies/models/CountObjectsResponseV2Dict.md index fc1c94c9..3179d9dc 100644 --- a/docs/v2/ontologies/models/CountObjectsResponseV2Dict.md +++ b/docs/v2/ontologies/models/CountObjectsResponseV2Dict.md @@ -5,7 +5,7 @@ CountObjectsResponseV2 ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**count** | NotRequired[pydantic.StrictInt] | No | | +**count** | NotRequired[int] | No | | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/ontologies/models/DeprecatedPropertyTypeStatus.md b/docs/v2/ontologies/models/DeprecatedPropertyTypeStatus.md index 30c3bef7..d6cc3819 100644 --- a/docs/v2/ontologies/models/DeprecatedPropertyTypeStatus.md +++ b/docs/v2/ontologies/models/DeprecatedPropertyTypeStatus.md @@ -7,7 +7,7 @@ deadline specified. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**message** | pydantic.StrictStr | Yes | | +**message** | str | Yes | | **deadline** | datetime | Yes | | **replaced_by** | Optional[PropertyTypeRid] | No | | **type** | Literal["deprecated"] | Yes | None | diff --git a/docs/v2/ontologies/models/DeprecatedPropertyTypeStatusDict.md b/docs/v2/ontologies/models/DeprecatedPropertyTypeStatusDict.md index b5f1061b..ba967751 100644 --- a/docs/v2/ontologies/models/DeprecatedPropertyTypeStatusDict.md +++ b/docs/v2/ontologies/models/DeprecatedPropertyTypeStatusDict.md @@ -7,7 +7,7 @@ deadline specified. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**message** | pydantic.StrictStr | Yes | | +**message** | str | Yes | | **deadline** | datetime | Yes | | **replacedBy** | NotRequired[PropertyTypeRid] | No | | **type** | Literal["deprecated"] | Yes | None | diff --git a/docs/v2/ontologies/models/FunctionVersion.md b/docs/v2/ontologies/models/FunctionVersion.md index fe974ba1..7a8f4565 100644 --- a/docs/v2/ontologies/models/FunctionVersion.md +++ b/docs/v2/ontologies/models/FunctionVersion.md @@ -6,7 +6,7 @@ Examples: `1.2.3`, `1.2.3-rc1`. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/FuzzyV2.md b/docs/v2/ontologies/models/FuzzyV2.md index 89b35f09..f5dc4f75 100644 --- a/docs/v2/ontologies/models/FuzzyV2.md +++ b/docs/v2/ontologies/models/FuzzyV2.md @@ -4,7 +4,7 @@ Setting fuzzy to `true` allows approximate matching in search queries that suppo ## Type ```python -pydantic.StrictBool +bool ``` diff --git a/docs/v2/ontologies/models/InterfaceLinkType.md b/docs/v2/ontologies/models/InterfaceLinkType.md index bae044bd..249da234 100644 --- a/docs/v2/ontologies/models/InterfaceLinkType.md +++ b/docs/v2/ontologies/models/InterfaceLinkType.md @@ -10,10 +10,10 @@ by the implementing object types. **rid** | InterfaceLinkTypeRid | Yes | | **api_name** | InterfaceLinkTypeApiName | Yes | | **display_name** | DisplayName | Yes | | -**description** | Optional[pydantic.StrictStr] | No | The description of the interface link type. | +**description** | Optional[str] | No | The description of the interface link type. | **linked_entity_api_name** | InterfaceLinkTypeLinkedEntityApiName | Yes | | **cardinality** | InterfaceLinkTypeCardinality | Yes | | -**required** | pydantic.StrictBool | Yes | Whether each implementing object type must declare at least one implementation of this link. | +**required** | bool | Yes | Whether each implementing object type must declare at least one implementation of this link. | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/ontologies/models/InterfaceLinkTypeApiName.md b/docs/v2/ontologies/models/InterfaceLinkTypeApiName.md index 7d1b7d2d..199e9581 100644 --- a/docs/v2/ontologies/models/InterfaceLinkTypeApiName.md +++ b/docs/v2/ontologies/models/InterfaceLinkTypeApiName.md @@ -4,7 +4,7 @@ A string indicating the API name to use for the interface link. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/InterfaceLinkTypeDict.md b/docs/v2/ontologies/models/InterfaceLinkTypeDict.md index cb21d0e7..07c8dced 100644 --- a/docs/v2/ontologies/models/InterfaceLinkTypeDict.md +++ b/docs/v2/ontologies/models/InterfaceLinkTypeDict.md @@ -10,10 +10,10 @@ by the implementing object types. **rid** | InterfaceLinkTypeRid | Yes | | **apiName** | InterfaceLinkTypeApiName | Yes | | **displayName** | DisplayName | Yes | | -**description** | NotRequired[pydantic.StrictStr] | No | The description of the interface link type. | +**description** | NotRequired[str] | No | The description of the interface link type. | **linkedEntityApiName** | InterfaceLinkTypeLinkedEntityApiNameDict | Yes | | **cardinality** | InterfaceLinkTypeCardinality | Yes | | -**required** | pydantic.StrictBool | Yes | Whether each implementing object type must declare at least one implementation of this link. | +**required** | bool | Yes | Whether each implementing object type must declare at least one implementation of this link. | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/ontologies/models/InterfaceType.md b/docs/v2/ontologies/models/InterfaceType.md index 558232a9..070922b4 100644 --- a/docs/v2/ontologies/models/InterfaceType.md +++ b/docs/v2/ontologies/models/InterfaceType.md @@ -8,7 +8,7 @@ Represents an interface type in the Ontology. **rid** | InterfaceTypeRid | Yes | | **api_name** | InterfaceTypeApiName | Yes | | **display_name** | DisplayName | Yes | | -**description** | Optional[pydantic.StrictStr] | No | The description of the interface. | +**description** | Optional[str] | No | The description of the interface. | **properties** | Dict[SharedPropertyTypeApiName, SharedPropertyType] | Yes | A map from a shared property type API name to the corresponding shared property type. The map describes the set of properties the interface has. A shared property type must be unique across all of the properties. | **extends_interfaces** | List[InterfaceTypeApiName] | Yes | A list of interface API names that this interface extends. An interface can extend other interfaces to inherit their properties. | **implemented_by_object_types** | List[ObjectTypeApiName] | Yes | A list of object API names that implement this interface. | diff --git a/docs/v2/ontologies/models/InterfaceTypeApiName.md b/docs/v2/ontologies/models/InterfaceTypeApiName.md index 1a0788cd..392e38da 100644 --- a/docs/v2/ontologies/models/InterfaceTypeApiName.md +++ b/docs/v2/ontologies/models/InterfaceTypeApiName.md @@ -6,7 +6,7 @@ type, use the `List interface types` endpoint or check the **Ontology Manager**. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/InterfaceTypeDict.md b/docs/v2/ontologies/models/InterfaceTypeDict.md index 76a720b3..fdaae9cd 100644 --- a/docs/v2/ontologies/models/InterfaceTypeDict.md +++ b/docs/v2/ontologies/models/InterfaceTypeDict.md @@ -8,7 +8,7 @@ Represents an interface type in the Ontology. **rid** | InterfaceTypeRid | Yes | | **apiName** | InterfaceTypeApiName | Yes | | **displayName** | DisplayName | Yes | | -**description** | NotRequired[pydantic.StrictStr] | No | The description of the interface. | +**description** | NotRequired[str] | No | The description of the interface. | **properties** | Dict[SharedPropertyTypeApiName, SharedPropertyTypeDict] | Yes | A map from a shared property type API name to the corresponding shared property type. The map describes the set of properties the interface has. A shared property type must be unique across all of the properties. | **extendsInterfaces** | List[InterfaceTypeApiName] | Yes | A list of interface API names that this interface extends. An interface can extend other interfaces to inherit their properties. | **implementedByObjectTypes** | List[ObjectTypeApiName] | Yes | A list of object API names that implement this interface. | diff --git a/docs/v2/ontologies/models/IsNullQueryV2.md b/docs/v2/ontologies/models/IsNullQueryV2.md index c7374663..cc4b41a8 100644 --- a/docs/v2/ontologies/models/IsNullQueryV2.md +++ b/docs/v2/ontologies/models/IsNullQueryV2.md @@ -6,7 +6,7 @@ Returns objects based on the existence of the specified field. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | PropertyApiName | Yes | | -**value** | pydantic.StrictBool | Yes | | +**value** | bool | Yes | | **type** | Literal["isNull"] | Yes | None | diff --git a/docs/v2/ontologies/models/IsNullQueryV2Dict.md b/docs/v2/ontologies/models/IsNullQueryV2Dict.md index 384a836c..e27abed7 100644 --- a/docs/v2/ontologies/models/IsNullQueryV2Dict.md +++ b/docs/v2/ontologies/models/IsNullQueryV2Dict.md @@ -6,7 +6,7 @@ Returns objects based on the existence of the specified field. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | PropertyApiName | Yes | | -**value** | pydantic.StrictBool | Yes | | +**value** | bool | Yes | | **type** | Literal["isNull"] | Yes | None | diff --git a/docs/v2/ontologies/models/LinkTypeApiName.md b/docs/v2/ontologies/models/LinkTypeApiName.md index edf7ba5c..4aba2e13 100644 --- a/docs/v2/ontologies/models/LinkTypeApiName.md +++ b/docs/v2/ontologies/models/LinkTypeApiName.md @@ -5,7 +5,7 @@ The name of the link type in the API. To find the API name for your Link Type, c ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/ObjectEdits.md b/docs/v2/ontologies/models/ObjectEdits.md index e3fc0862..c5f29542 100644 --- a/docs/v2/ontologies/models/ObjectEdits.md +++ b/docs/v2/ontologies/models/ObjectEdits.md @@ -6,11 +6,11 @@ ObjectEdits | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **edits** | List[ObjectEdit] | Yes | | -**added_object_count** | pydantic.StrictInt | Yes | | -**modified_objects_count** | pydantic.StrictInt | Yes | | -**deleted_objects_count** | pydantic.StrictInt | Yes | | -**added_links_count** | pydantic.StrictInt | Yes | | -**deleted_links_count** | pydantic.StrictInt | Yes | | +**added_object_count** | int | Yes | | +**modified_objects_count** | int | Yes | | +**deleted_objects_count** | int | Yes | | +**added_links_count** | int | Yes | | +**deleted_links_count** | int | Yes | | **type** | Literal["edits"] | Yes | None | diff --git a/docs/v2/ontologies/models/ObjectEditsDict.md b/docs/v2/ontologies/models/ObjectEditsDict.md index 74a1f748..d31df6db 100644 --- a/docs/v2/ontologies/models/ObjectEditsDict.md +++ b/docs/v2/ontologies/models/ObjectEditsDict.md @@ -6,11 +6,11 @@ ObjectEdits | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **edits** | List[ObjectEditDict] | Yes | | -**addedObjectCount** | pydantic.StrictInt | Yes | | -**modifiedObjectsCount** | pydantic.StrictInt | Yes | | -**deletedObjectsCount** | pydantic.StrictInt | Yes | | -**addedLinksCount** | pydantic.StrictInt | Yes | | -**deletedLinksCount** | pydantic.StrictInt | Yes | | +**addedObjectCount** | int | Yes | | +**modifiedObjectsCount** | int | Yes | | +**deletedObjectsCount** | int | Yes | | +**addedLinksCount** | int | Yes | | +**deletedLinksCount** | int | Yes | | **type** | Literal["edits"] | Yes | None | diff --git a/docs/v2/ontologies/models/ObjectSetBaseType.md b/docs/v2/ontologies/models/ObjectSetBaseType.md index 53d05891..eaa56abb 100644 --- a/docs/v2/ontologies/models/ObjectSetBaseType.md +++ b/docs/v2/ontologies/models/ObjectSetBaseType.md @@ -5,7 +5,7 @@ ObjectSetBaseType ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**object_type** | pydantic.StrictStr | Yes | The API name of the object type. | +**object_type** | str | Yes | The API name of the object type. | **type** | Literal["base"] | Yes | None | diff --git a/docs/v2/ontologies/models/ObjectSetBaseTypeDict.md b/docs/v2/ontologies/models/ObjectSetBaseTypeDict.md index 406695eb..acde17a1 100644 --- a/docs/v2/ontologies/models/ObjectSetBaseTypeDict.md +++ b/docs/v2/ontologies/models/ObjectSetBaseTypeDict.md @@ -5,7 +5,7 @@ ObjectSetBaseType ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**objectType** | pydantic.StrictStr | Yes | The API name of the object type. | +**objectType** | str | Yes | The API name of the object type. | **type** | Literal["base"] | Yes | None | diff --git a/docs/v2/ontologies/models/ObjectTypeApiName.md b/docs/v2/ontologies/models/ObjectTypeApiName.md index 53f97594..e5f32f96 100644 --- a/docs/v2/ontologies/models/ObjectTypeApiName.md +++ b/docs/v2/ontologies/models/ObjectTypeApiName.md @@ -6,7 +6,7 @@ The name of the object type in the API in camelCase format. To find the API name ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/ObjectTypeId.md b/docs/v2/ontologies/models/ObjectTypeId.md index fec0d5d3..436a6625 100644 --- a/docs/v2/ontologies/models/ObjectTypeId.md +++ b/docs/v2/ontologies/models/ObjectTypeId.md @@ -4,7 +4,7 @@ The unique identifier (ID) for an object type. This can be viewed in [Ontology M ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/ObjectTypeV2.md b/docs/v2/ontologies/models/ObjectTypeV2.md index 5e0d1f10..b5a9d941 100644 --- a/docs/v2/ontologies/models/ObjectTypeV2.md +++ b/docs/v2/ontologies/models/ObjectTypeV2.md @@ -8,8 +8,8 @@ Represents an object type in the Ontology. **api_name** | ObjectTypeApiName | Yes | | **display_name** | DisplayName | Yes | | **status** | ReleaseStatus | Yes | | -**description** | Optional[pydantic.StrictStr] | No | The description of the object type. | -**plural_display_name** | pydantic.StrictStr | Yes | The plural display name of the object type. | +**description** | Optional[str] | No | The description of the object type. | +**plural_display_name** | str | Yes | The plural display name of the object type. | **icon** | Icon | Yes | | **primary_key** | PropertyApiName | Yes | | **properties** | Dict[PropertyApiName, PropertyV2] | Yes | A map of the properties of the object type. | diff --git a/docs/v2/ontologies/models/ObjectTypeV2Dict.md b/docs/v2/ontologies/models/ObjectTypeV2Dict.md index d721830f..bb6a0a04 100644 --- a/docs/v2/ontologies/models/ObjectTypeV2Dict.md +++ b/docs/v2/ontologies/models/ObjectTypeV2Dict.md @@ -8,8 +8,8 @@ Represents an object type in the Ontology. **apiName** | ObjectTypeApiName | Yes | | **displayName** | DisplayName | Yes | | **status** | ReleaseStatus | Yes | | -**description** | NotRequired[pydantic.StrictStr] | No | The description of the object type. | -**pluralDisplayName** | pydantic.StrictStr | Yes | The plural display name of the object type. | +**description** | NotRequired[str] | No | The description of the object type. | +**pluralDisplayName** | str | Yes | The plural display name of the object type. | **icon** | IconDict | Yes | | **primaryKey** | PropertyApiName | Yes | | **properties** | Dict[PropertyApiName, PropertyV2Dict] | Yes | A map of the properties of the object type. | diff --git a/docs/v2/ontologies/models/OneOfConstraint.md b/docs/v2/ontologies/models/OneOfConstraint.md index c371b33c..2b875e15 100644 --- a/docs/v2/ontologies/models/OneOfConstraint.md +++ b/docs/v2/ontologies/models/OneOfConstraint.md @@ -7,7 +7,7 @@ The parameter has a manually predefined set of options. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **options** | List[ParameterOption] | Yes | | -**other_values_allowed** | pydantic.StrictBool | Yes | A flag denoting whether custom, user provided values will be considered valid. This is configured via the **Allowed "Other" value** toggle in the **Ontology Manager**. | +**other_values_allowed** | bool | Yes | A flag denoting whether custom, user provided values will be considered valid. This is configured via the **Allowed "Other" value** toggle in the **Ontology Manager**. | **type** | Literal["oneOf"] | Yes | None | diff --git a/docs/v2/ontologies/models/OneOfConstraintDict.md b/docs/v2/ontologies/models/OneOfConstraintDict.md index 5b9c3582..05770d26 100644 --- a/docs/v2/ontologies/models/OneOfConstraintDict.md +++ b/docs/v2/ontologies/models/OneOfConstraintDict.md @@ -7,7 +7,7 @@ The parameter has a manually predefined set of options. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **options** | List[ParameterOptionDict] | Yes | | -**otherValuesAllowed** | pydantic.StrictBool | Yes | A flag denoting whether custom, user provided values will be considered valid. This is configured via the **Allowed "Other" value** toggle in the **Ontology Manager**. | +**otherValuesAllowed** | bool | Yes | A flag denoting whether custom, user provided values will be considered valid. This is configured via the **Allowed "Other" value** toggle in the **Ontology Manager**. | **type** | Literal["oneOf"] | Yes | None | diff --git a/docs/v2/ontologies/models/OntologyApiName.md b/docs/v2/ontologies/models/OntologyApiName.md index 71badcb5..d33c88b2 100644 --- a/docs/v2/ontologies/models/OntologyApiName.md +++ b/docs/v2/ontologies/models/OntologyApiName.md @@ -4,7 +4,7 @@ OntologyApiName ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/OntologyIdentifier.md b/docs/v2/ontologies/models/OntologyIdentifier.md index 44790577..759a588c 100644 --- a/docs/v2/ontologies/models/OntologyIdentifier.md +++ b/docs/v2/ontologies/models/OntologyIdentifier.md @@ -4,7 +4,7 @@ Either an ontology RID or an ontology API name. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/OntologyV2.md b/docs/v2/ontologies/models/OntologyV2.md index e923d597..d4add6fa 100644 --- a/docs/v2/ontologies/models/OntologyV2.md +++ b/docs/v2/ontologies/models/OntologyV2.md @@ -7,7 +7,7 @@ Metadata about an Ontology. | ------------ | ------------- | ------------- | ------------- | **api_name** | OntologyApiName | Yes | | **display_name** | DisplayName | Yes | | -**description** | pydantic.StrictStr | Yes | | +**description** | str | Yes | | **rid** | OntologyRid | Yes | | diff --git a/docs/v2/ontologies/models/OntologyV2Dict.md b/docs/v2/ontologies/models/OntologyV2Dict.md index 854e8f73..29d48807 100644 --- a/docs/v2/ontologies/models/OntologyV2Dict.md +++ b/docs/v2/ontologies/models/OntologyV2Dict.md @@ -7,7 +7,7 @@ Metadata about an Ontology. | ------------ | ------------- | ------------- | ------------- | **apiName** | OntologyApiName | Yes | | **displayName** | DisplayName | Yes | | -**description** | pydantic.StrictStr | Yes | | +**description** | str | Yes | | **rid** | OntologyRid | Yes | | diff --git a/docs/v2/ontologies/models/OrderBy.md b/docs/v2/ontologies/models/OrderBy.md index ca216ef7..451c80e8 100644 --- a/docs/v2/ontologies/models/OrderBy.md +++ b/docs/v2/ontologies/models/OrderBy.md @@ -14,7 +14,7 @@ You may also use the shorthand `p` instead of `properties` such as `orderBy=p.la ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/ParameterEvaluationResult.md b/docs/v2/ontologies/models/ParameterEvaluationResult.md index a4d2c90a..0881520b 100644 --- a/docs/v2/ontologies/models/ParameterEvaluationResult.md +++ b/docs/v2/ontologies/models/ParameterEvaluationResult.md @@ -7,7 +7,7 @@ Represents the validity of a parameter against the configured constraints. | ------------ | ------------- | ------------- | ------------- | **result** | ValidationResult | Yes | | **evaluated_constraints** | List[ParameterEvaluatedConstraint] | Yes | | -**required** | pydantic.StrictBool | Yes | Represents whether the parameter is a required input to the action. | +**required** | bool | Yes | Represents whether the parameter is a required input to the action. | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/ontologies/models/ParameterEvaluationResultDict.md b/docs/v2/ontologies/models/ParameterEvaluationResultDict.md index fff974c8..fc48accb 100644 --- a/docs/v2/ontologies/models/ParameterEvaluationResultDict.md +++ b/docs/v2/ontologies/models/ParameterEvaluationResultDict.md @@ -7,7 +7,7 @@ Represents the validity of a parameter against the configured constraints. | ------------ | ------------- | ------------- | ------------- | **result** | ValidationResult | Yes | | **evaluatedConstraints** | List[ParameterEvaluatedConstraintDict] | Yes | | -**required** | pydantic.StrictBool | Yes | Represents whether the parameter is a required input to the action. | +**required** | bool | Yes | Represents whether the parameter is a required input to the action. | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/ontologies/models/ParameterId.md b/docs/v2/ontologies/models/ParameterId.md index 61c52b89..b6c2637d 100644 --- a/docs/v2/ontologies/models/ParameterId.md +++ b/docs/v2/ontologies/models/ParameterId.md @@ -6,7 +6,7 @@ Parameters can be viewed and managed in the **Ontology Manager**. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/PropertyApiName.md b/docs/v2/ontologies/models/PropertyApiName.md index ecc82c8e..afa40d46 100644 --- a/docs/v2/ontologies/models/PropertyApiName.md +++ b/docs/v2/ontologies/models/PropertyApiName.md @@ -6,7 +6,7 @@ endpoint or check the [Ontology Manager](/docs/foundry/ontology-manager/overview ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/PropertyV2.md b/docs/v2/ontologies/models/PropertyV2.md index 35ec6130..6fa120d5 100644 --- a/docs/v2/ontologies/models/PropertyV2.md +++ b/docs/v2/ontologies/models/PropertyV2.md @@ -5,7 +5,7 @@ Details about some property of an object. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**description** | Optional[pydantic.StrictStr] | No | | +**description** | Optional[str] | No | | **display_name** | Optional[DisplayName] | No | | **data_type** | ObjectPropertyType | Yes | | **rid** | PropertyTypeRid | Yes | | diff --git a/docs/v2/ontologies/models/PropertyV2Dict.md b/docs/v2/ontologies/models/PropertyV2Dict.md index a4699794..3542c8d2 100644 --- a/docs/v2/ontologies/models/PropertyV2Dict.md +++ b/docs/v2/ontologies/models/PropertyV2Dict.md @@ -5,7 +5,7 @@ Details about some property of an object. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**description** | NotRequired[pydantic.StrictStr] | No | | +**description** | NotRequired[str] | No | | **displayName** | NotRequired[DisplayName] | No | | **dataType** | ObjectPropertyTypeDict | Yes | | **rid** | PropertyTypeRid | Yes | | diff --git a/docs/v2/ontologies/models/PropertyValueEscapedString.md b/docs/v2/ontologies/models/PropertyValueEscapedString.md index a86178c6..db793a38 100644 --- a/docs/v2/ontologies/models/PropertyValueEscapedString.md +++ b/docs/v2/ontologies/models/PropertyValueEscapedString.md @@ -4,7 +4,7 @@ Represents the value of a property in string format. This is used in URL paramet ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/QueryApiName.md b/docs/v2/ontologies/models/QueryApiName.md index 4bc0f365..f071cbf1 100644 --- a/docs/v2/ontologies/models/QueryApiName.md +++ b/docs/v2/ontologies/models/QueryApiName.md @@ -5,7 +5,7 @@ The name of the Query in the API. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/QueryParameterV2.md b/docs/v2/ontologies/models/QueryParameterV2.md index fbcaba0d..9b1abb88 100644 --- a/docs/v2/ontologies/models/QueryParameterV2.md +++ b/docs/v2/ontologies/models/QueryParameterV2.md @@ -5,7 +5,7 @@ Details about a parameter of a query. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**description** | Optional[pydantic.StrictStr] | No | | +**description** | Optional[str] | No | | **data_type** | QueryDataType | Yes | | diff --git a/docs/v2/ontologies/models/QueryParameterV2Dict.md b/docs/v2/ontologies/models/QueryParameterV2Dict.md index 7bbd3e8c..433dd094 100644 --- a/docs/v2/ontologies/models/QueryParameterV2Dict.md +++ b/docs/v2/ontologies/models/QueryParameterV2Dict.md @@ -5,7 +5,7 @@ Details about a parameter of a query. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**description** | NotRequired[pydantic.StrictStr] | No | | +**description** | NotRequired[str] | No | | **dataType** | QueryDataTypeDict | Yes | | diff --git a/docs/v2/ontologies/models/QueryTypeV2.md b/docs/v2/ontologies/models/QueryTypeV2.md index 2cbe67ca..8ee80ba6 100644 --- a/docs/v2/ontologies/models/QueryTypeV2.md +++ b/docs/v2/ontologies/models/QueryTypeV2.md @@ -6,7 +6,7 @@ Represents a query type in the Ontology. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **api_name** | QueryApiName | Yes | | -**description** | Optional[pydantic.StrictStr] | No | | +**description** | Optional[str] | No | | **display_name** | Optional[DisplayName] | No | | **parameters** | Dict[ParameterId, QueryParameterV2] | Yes | | **output** | QueryDataType | Yes | | diff --git a/docs/v2/ontologies/models/QueryTypeV2Dict.md b/docs/v2/ontologies/models/QueryTypeV2Dict.md index 526fcd83..8e81c877 100644 --- a/docs/v2/ontologies/models/QueryTypeV2Dict.md +++ b/docs/v2/ontologies/models/QueryTypeV2Dict.md @@ -6,7 +6,7 @@ Represents a query type in the Ontology. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **apiName** | QueryApiName | Yes | | -**description** | NotRequired[pydantic.StrictStr] | No | | +**description** | NotRequired[str] | No | | **displayName** | NotRequired[DisplayName] | No | | **parameters** | Dict[ParameterId, QueryParameterV2Dict] | Yes | | **output** | QueryDataTypeDict | Yes | | diff --git a/docs/v2/ontologies/models/RelativeTimeDict.md b/docs/v2/ontologies/models/RelativeTimeDict.md index 0da01e41..f2179507 100644 --- a/docs/v2/ontologies/models/RelativeTimeDict.md +++ b/docs/v2/ontologies/models/RelativeTimeDict.md @@ -7,7 +7,7 @@ A relative time, such as "3 days before" or "2 hours after" the current moment. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **when** | RelativeTimeRelation | Yes | | -**value** | pydantic.StrictInt | Yes | | +**value** | int | Yes | | **unit** | RelativeTimeSeriesTimeUnit | Yes | | diff --git a/docs/v2/ontologies/models/SdkPackageName.md b/docs/v2/ontologies/models/SdkPackageName.md index b2a48e12..9f5d5f9c 100644 --- a/docs/v2/ontologies/models/SdkPackageName.md +++ b/docs/v2/ontologies/models/SdkPackageName.md @@ -4,7 +4,7 @@ SdkPackageName ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/SearchOrderingV2Dict.md b/docs/v2/ontologies/models/SearchOrderingV2Dict.md index 5d5339f9..c279ca3e 100644 --- a/docs/v2/ontologies/models/SearchOrderingV2Dict.md +++ b/docs/v2/ontologies/models/SearchOrderingV2Dict.md @@ -6,7 +6,7 @@ SearchOrderingV2 | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | PropertyApiName | Yes | | -**direction** | NotRequired[pydantic.StrictStr] | No | Specifies the ordering direction (can be either `asc` or `desc`) | +**direction** | NotRequired[str] | No | Specifies the ordering direction (can be either `asc` or `desc`) | [[Back to Model list]](../../../../README.md#models-v2-link) [[Back to API list]](../../../../README.md#apis-v2-link) [[Back to README]](../../../../README.md) diff --git a/docs/v2/ontologies/models/SelectedPropertyApiName.md b/docs/v2/ontologies/models/SelectedPropertyApiName.md index 7f468133..2e0e3766 100644 --- a/docs/v2/ontologies/models/SelectedPropertyApiName.md +++ b/docs/v2/ontologies/models/SelectedPropertyApiName.md @@ -19,7 +19,7 @@ To find the API name for your property, use the `Get object type` endpoint or ch ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/SharedPropertyType.md b/docs/v2/ontologies/models/SharedPropertyType.md index 0f00dea8..f5d59711 100644 --- a/docs/v2/ontologies/models/SharedPropertyType.md +++ b/docs/v2/ontologies/models/SharedPropertyType.md @@ -8,7 +8,7 @@ A property type that can be shared across object types. **rid** | SharedPropertyTypeRid | Yes | | **api_name** | SharedPropertyTypeApiName | Yes | | **display_name** | DisplayName | Yes | | -**description** | Optional[pydantic.StrictStr] | No | A short text that describes the SharedPropertyType. | +**description** | Optional[str] | No | A short text that describes the SharedPropertyType. | **data_type** | ObjectPropertyType | Yes | | diff --git a/docs/v2/ontologies/models/SharedPropertyTypeApiName.md b/docs/v2/ontologies/models/SharedPropertyTypeApiName.md index 85ecb329..58b36f52 100644 --- a/docs/v2/ontologies/models/SharedPropertyTypeApiName.md +++ b/docs/v2/ontologies/models/SharedPropertyTypeApiName.md @@ -6,7 +6,7 @@ shared property type, use the `List shared property types` endpoint or check the ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/SharedPropertyTypeDict.md b/docs/v2/ontologies/models/SharedPropertyTypeDict.md index 10b33881..1b172cc1 100644 --- a/docs/v2/ontologies/models/SharedPropertyTypeDict.md +++ b/docs/v2/ontologies/models/SharedPropertyTypeDict.md @@ -8,7 +8,7 @@ A property type that can be shared across object types. **rid** | SharedPropertyTypeRid | Yes | | **apiName** | SharedPropertyTypeApiName | Yes | | **displayName** | DisplayName | Yes | | -**description** | NotRequired[pydantic.StrictStr] | No | A short text that describes the SharedPropertyType. | +**description** | NotRequired[str] | No | A short text that describes the SharedPropertyType. | **dataType** | ObjectPropertyTypeDict | Yes | | diff --git a/docs/v2/ontologies/models/StartsWithQuery.md b/docs/v2/ontologies/models/StartsWithQuery.md index 5c169826..0b6b1a99 100644 --- a/docs/v2/ontologies/models/StartsWithQuery.md +++ b/docs/v2/ontologies/models/StartsWithQuery.md @@ -6,7 +6,7 @@ Returns objects where the specified field starts with the provided value. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | PropertyApiName | Yes | | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | **type** | Literal["startsWith"] | Yes | None | diff --git a/docs/v2/ontologies/models/StartsWithQueryDict.md b/docs/v2/ontologies/models/StartsWithQueryDict.md index d6214914..d01d09ca 100644 --- a/docs/v2/ontologies/models/StartsWithQueryDict.md +++ b/docs/v2/ontologies/models/StartsWithQueryDict.md @@ -6,7 +6,7 @@ Returns objects where the specified field starts with the provided value. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **field** | PropertyApiName | Yes | | -**value** | pydantic.StrictStr | Yes | | +**value** | str | Yes | | **type** | Literal["startsWith"] | Yes | None | diff --git a/docs/v2/ontologies/models/StringRegexMatchConstraint.md b/docs/v2/ontologies/models/StringRegexMatchConstraint.md index 8c882240..efe8a0cf 100644 --- a/docs/v2/ontologies/models/StringRegexMatchConstraint.md +++ b/docs/v2/ontologies/models/StringRegexMatchConstraint.md @@ -6,8 +6,8 @@ The parameter value must match a predefined regular expression. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**regex** | pydantic.StrictStr | Yes | The regular expression configured in the **Ontology Manager**. | -**configured_failure_message** | Optional[pydantic.StrictStr] | No | The message indicating that the regular expression was not matched. This is configured per parameter in the **Ontology Manager**. | +**regex** | str | Yes | The regular expression configured in the **Ontology Manager**. | +**configured_failure_message** | Optional[str] | No | The message indicating that the regular expression was not matched. This is configured per parameter in the **Ontology Manager**. | **type** | Literal["stringRegexMatch"] | Yes | None | diff --git a/docs/v2/ontologies/models/StringRegexMatchConstraintDict.md b/docs/v2/ontologies/models/StringRegexMatchConstraintDict.md index 8b239a19..5b1b4129 100644 --- a/docs/v2/ontologies/models/StringRegexMatchConstraintDict.md +++ b/docs/v2/ontologies/models/StringRegexMatchConstraintDict.md @@ -6,8 +6,8 @@ The parameter value must match a predefined regular expression. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**regex** | pydantic.StrictStr | Yes | The regular expression configured in the **Ontology Manager**. | -**configuredFailureMessage** | NotRequired[pydantic.StrictStr] | No | The message indicating that the regular expression was not matched. This is configured per parameter in the **Ontology Manager**. | +**regex** | str | Yes | The regular expression configured in the **Ontology Manager**. | +**configuredFailureMessage** | NotRequired[str] | No | The message indicating that the regular expression was not matched. This is configured per parameter in the **Ontology Manager**. | **type** | Literal["stringRegexMatch"] | Yes | None | diff --git a/docs/v2/ontologies/models/StructFieldApiName.md b/docs/v2/ontologies/models/StructFieldApiName.md index 0df8cae3..3d5dfa13 100644 --- a/docs/v2/ontologies/models/StructFieldApiName.md +++ b/docs/v2/ontologies/models/StructFieldApiName.md @@ -4,7 +4,7 @@ The name of a struct field in the Ontology. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/ontologies/models/SubmissionCriteriaEvaluation.md b/docs/v2/ontologies/models/SubmissionCriteriaEvaluation.md index e4ad05ac..66c83343 100644 --- a/docs/v2/ontologies/models/SubmissionCriteriaEvaluation.md +++ b/docs/v2/ontologies/models/SubmissionCriteriaEvaluation.md @@ -8,7 +8,7 @@ These are configured in the **Ontology Manager**. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**configured_failure_message** | Optional[pydantic.StrictStr] | No | The message indicating one of the **submission criteria** was not satisfied. This is configured per **submission criteria** in the **Ontology Manager**. | +**configured_failure_message** | Optional[str] | No | The message indicating one of the **submission criteria** was not satisfied. This is configured per **submission criteria** in the **Ontology Manager**. | **result** | ValidationResult | Yes | | diff --git a/docs/v2/ontologies/models/SubmissionCriteriaEvaluationDict.md b/docs/v2/ontologies/models/SubmissionCriteriaEvaluationDict.md index a886c24b..23843091 100644 --- a/docs/v2/ontologies/models/SubmissionCriteriaEvaluationDict.md +++ b/docs/v2/ontologies/models/SubmissionCriteriaEvaluationDict.md @@ -8,7 +8,7 @@ These are configured in the **Ontology Manager**. ## Properties | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | -**configuredFailureMessage** | NotRequired[pydantic.StrictStr] | No | The message indicating one of the **submission criteria** was not satisfied. This is configured per **submission criteria** in the **Ontology Manager**. | +**configuredFailureMessage** | NotRequired[str] | No | The message indicating one of the **submission criteria** was not satisfied. This is configured per **submission criteria** in the **Ontology Manager**. | **result** | ValidationResult | Yes | | diff --git a/docs/v2/orchestration/models/AbortOnFailure.md b/docs/v2/orchestration/models/AbortOnFailure.md index 9a6354d1..dfc79d58 100644 --- a/docs/v2/orchestration/models/AbortOnFailure.md +++ b/docs/v2/orchestration/models/AbortOnFailure.md @@ -6,7 +6,7 @@ build by cancelling all other jobs. ## Type ```python -pydantic.StrictBool +bool ``` diff --git a/docs/v2/orchestration/models/CronExpression.md b/docs/v2/orchestration/models/CronExpression.md index 4e776c6e..164a1651 100644 --- a/docs/v2/orchestration/models/CronExpression.md +++ b/docs/v2/orchestration/models/CronExpression.md @@ -6,7 +6,7 @@ and day of week. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/orchestration/models/ForceBuild.md b/docs/v2/orchestration/models/ForceBuild.md index e3755e0f..ab828bf3 100644 --- a/docs/v2/orchestration/models/ForceBuild.md +++ b/docs/v2/orchestration/models/ForceBuild.md @@ -4,7 +4,7 @@ Whether to ignore staleness information when running the build. ## Type ```python -pydantic.StrictBool +bool ``` diff --git a/docs/v2/orchestration/models/NotificationsEnabled.md b/docs/v2/orchestration/models/NotificationsEnabled.md index 557b8e58..c5497f8f 100644 --- a/docs/v2/orchestration/models/NotificationsEnabled.md +++ b/docs/v2/orchestration/models/NotificationsEnabled.md @@ -5,7 +5,7 @@ The notification will be sent to the user that has performed the request. ## Type ```python -pydantic.StrictBool +bool ``` diff --git a/docs/v2/orchestration/models/RetryCount.md b/docs/v2/orchestration/models/RetryCount.md index 2150e9e3..58f0456d 100644 --- a/docs/v2/orchestration/models/RetryCount.md +++ b/docs/v2/orchestration/models/RetryCount.md @@ -7,7 +7,7 @@ not all types of failures can be retried. ## Type ```python -pydantic.StrictInt +int ``` diff --git a/docs/v2/orchestration/models/Schedule.md b/docs/v2/orchestration/models/Schedule.md index fee41481..bf0a06fa 100644 --- a/docs/v2/orchestration/models/Schedule.md +++ b/docs/v2/orchestration/models/Schedule.md @@ -6,8 +6,8 @@ Schedule | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **rid** | ScheduleRid | Yes | | -**display_name** | Optional[pydantic.StrictStr] | No | | -**description** | Optional[pydantic.StrictStr] | No | | +**display_name** | Optional[str] | No | | +**description** | Optional[str] | No | | **current_version_rid** | ScheduleVersionRid | Yes | The RID of the current schedule version | **created_time** | CreatedTime | Yes | | **created_by** | CreatedBy | Yes | | diff --git a/docs/v2/orchestration/models/ScheduleDict.md b/docs/v2/orchestration/models/ScheduleDict.md index 4b903e14..579735f8 100644 --- a/docs/v2/orchestration/models/ScheduleDict.md +++ b/docs/v2/orchestration/models/ScheduleDict.md @@ -6,8 +6,8 @@ Schedule | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **rid** | ScheduleRid | Yes | | -**displayName** | NotRequired[pydantic.StrictStr] | No | | -**description** | NotRequired[pydantic.StrictStr] | No | | +**displayName** | NotRequired[str] | No | | +**description** | NotRequired[str] | No | | **currentVersionRid** | ScheduleVersionRid | Yes | The RID of the current schedule version | **createdTime** | CreatedTime | Yes | | **createdBy** | CreatedBy | Yes | | diff --git a/docs/v2/orchestration/models/SchedulePaused.md b/docs/v2/orchestration/models/SchedulePaused.md index 4035843f..25285658 100644 --- a/docs/v2/orchestration/models/SchedulePaused.md +++ b/docs/v2/orchestration/models/SchedulePaused.md @@ -4,7 +4,7 @@ SchedulePaused ## Type ```python -pydantic.StrictBool +bool ``` diff --git a/docs/v2/orchestration/models/ScheduleRunError.md b/docs/v2/orchestration/models/ScheduleRunError.md index b03fc46a..b4a7e4d5 100644 --- a/docs/v2/orchestration/models/ScheduleRunError.md +++ b/docs/v2/orchestration/models/ScheduleRunError.md @@ -6,7 +6,7 @@ An error occurred attempting to run the schedule. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **error_name** | ScheduleRunErrorName | Yes | | -**description** | pydantic.StrictStr | Yes | | +**description** | str | Yes | | **type** | Literal["error"] | Yes | None | diff --git a/docs/v2/orchestration/models/ScheduleRunErrorDict.md b/docs/v2/orchestration/models/ScheduleRunErrorDict.md index 39ccaf92..3045f952 100644 --- a/docs/v2/orchestration/models/ScheduleRunErrorDict.md +++ b/docs/v2/orchestration/models/ScheduleRunErrorDict.md @@ -6,7 +6,7 @@ An error occurred attempting to run the schedule. | Name | Type | Required | Description | | ------------ | ------------- | ------------- | ------------- | **errorName** | ScheduleRunErrorName | Yes | | -**description** | pydantic.StrictStr | Yes | | +**description** | str | Yes | | **type** | Literal["error"] | Yes | None | diff --git a/docs/v2/streams/models/Compressed.md b/docs/v2/streams/models/Compressed.md index 03a7f086..1f383af0 100644 --- a/docs/v2/streams/models/Compressed.md +++ b/docs/v2/streams/models/Compressed.md @@ -8,7 +8,7 @@ network bandwidth symptoms like non-zero lag, lower than expected throughput, or ## Type ```python -pydantic.StrictBool +bool ``` diff --git a/docs/v2/streams/models/PartitionsCount.md b/docs/v2/streams/models/PartitionsCount.md index 699cf47b..de2394c9 100644 --- a/docs/v2/streams/models/PartitionsCount.md +++ b/docs/v2/streams/models/PartitionsCount.md @@ -5,7 +5,7 @@ The number of partitions for a Foundry stream. ## Type ```python -pydantic.StrictInt +int ``` diff --git a/docs/v2/streams/models/Record.md b/docs/v2/streams/models/Record.md index ffec84a2..873c2e4e 100644 --- a/docs/v2/streams/models/Record.md +++ b/docs/v2/streams/models/Record.md @@ -5,7 +5,7 @@ A record to be published to a stream. ## Type ```python -Dict[pydantic.StrictStr, Any] +Dict[str, Any] ``` diff --git a/docs/v2/third_party_applications/models/Subdomain.md b/docs/v2/third_party_applications/models/Subdomain.md index ed3ffa74..1800c3c5 100644 --- a/docs/v2/third_party_applications/models/Subdomain.md +++ b/docs/v2/third_party_applications/models/Subdomain.md @@ -4,7 +4,7 @@ A subdomain from which a website is served. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/docs/v2/third_party_applications/models/VersionVersion.md b/docs/v2/third_party_applications/models/VersionVersion.md index c6341125..d261949d 100644 --- a/docs/v2/third_party_applications/models/VersionVersion.md +++ b/docs/v2/third_party_applications/models/VersionVersion.md @@ -4,7 +4,7 @@ The semantic version of the Website. ## Type ```python -pydantic.StrictStr +str ``` diff --git a/foundry/_core/utils.py b/foundry/_core/utils.py index 5a1eb836..658005db 100644 --- a/foundry/_core/utils.py +++ b/foundry/_core/utils.py @@ -25,7 +25,7 @@ from typing_extensions import Annotated RID = Annotated[ - pydantic.StrictStr, + str, pydantic.StringConstraints( pattern=r"^ri\.[a-z][a-z0-9-]*\.([a-z0-9][a-z0-9\-]*)?\.[a-z][a-z0-9-]*\.[a-zA-Z0-9._-]+$", ), @@ -33,12 +33,23 @@ UUID = Annotated[ - pydantic.StrictStr, + str, pydantic.StringConstraints( pattern=r"^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$", ), ] +Long = Annotated[ + int, + pydantic.PlainSerializer( + lambda value: str(value), + return_type=str, + # Important: This ensures the value is not serialized when using to_dict() + # We only want to serialize when dumping to a JSON string + when_used="json", + ), +] + def remove_prefixes(text: str, prefixes: List[str]): for prefix in prefixes: diff --git a/foundry/v1/cli.py b/foundry/v1/cli.py index 8c062172..700180f0 100644 --- a/foundry/v1/cli.py +++ b/foundry/v1/cli.py @@ -782,6 +782,182 @@ def mediasets(): pass +@mediasets.group("media_set") +def mediasets_media_set(): + pass + + +@mediasets_media_set.command("abort") +@click.argument("media_set_rid", type=str, required=True) +@click.argument("transaction_id", type=str, required=True) +@click.pass_obj +def mediasets_media_set_abort( + client: foundry.v1.FoundryClient, + media_set_rid: str, + transaction_id: str, +): + """ + Aborts an open transaction. Items uploaded to the media set during this transaction will be deleted. + + Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-write`. + + """ + result = client.mediasets.MediaSet.abort( + media_set_rid=media_set_rid, + transaction_id=transaction_id, + ) + click.echo(repr(result)) + + +@mediasets_media_set.command("commit") +@click.argument("media_set_rid", type=str, required=True) +@click.argument("transaction_id", type=str, required=True) +@click.pass_obj +def mediasets_media_set_commit( + client: foundry.v1.FoundryClient, + media_set_rid: str, + transaction_id: str, +): + """ + Commits an open transaction. On success, items uploaded to the media set during this transaction will become available. + + Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-write`. + + """ + result = client.mediasets.MediaSet.commit( + media_set_rid=media_set_rid, + transaction_id=transaction_id, + ) + click.echo(repr(result)) + + +@mediasets_media_set.command("create") +@click.argument("media_set_rid", type=str, required=True) +@click.option("--branch_name", type=str, required=False, help="""branchName""") +@click.pass_obj +def mediasets_media_set_create( + client: foundry.v1.FoundryClient, + media_set_rid: str, + branch_name: Optional[str], +): + """ + Creates a new transaction. Items uploaded to the media set while this transaction is open will not be reflected until the transaction is committed. + + Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-write`. + + """ + result = client.mediasets.MediaSet.create( + media_set_rid=media_set_rid, + branch_name=branch_name, + ) + click.echo(repr(result)) + + +@mediasets_media_set.command("info") +@click.argument("media_set_rid", type=str, required=True) +@click.argument("media_item_rid", type=str, required=True) +@click.pass_obj +def mediasets_media_set_info( + client: foundry.v1.FoundryClient, + media_set_rid: str, + media_item_rid: str, +): + """ + Gets information about the media item. + + Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-read`. + + """ + result = client.mediasets.MediaSet.info( + media_set_rid=media_set_rid, + media_item_rid=media_item_rid, + ) + click.echo(repr(result)) + + +@mediasets_media_set.command("read") +@click.argument("media_set_rid", type=str, required=True) +@click.argument("media_item_rid", type=str, required=True) +@click.pass_obj +def mediasets_media_set_read( + client: foundry.v1.FoundryClient, + media_set_rid: str, + media_item_rid: str, +): + """ + Gets the content of a media item. + + Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-read`. + + """ + result = client.mediasets.MediaSet.read( + media_set_rid=media_set_rid, + media_item_rid=media_item_rid, + ) + click.echo(result) + + +@mediasets_media_set.command("reference") +@click.argument("media_set_rid", type=str, required=True) +@click.argument("media_item_rid", type=str, required=True) +@click.pass_obj +def mediasets_media_set_reference( + client: foundry.v1.FoundryClient, + media_set_rid: str, + media_item_rid: str, +): + """ + Gets the [media reference](/docs/foundry/data-integration/media-sets/#media-references) for this media item. + + Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-read`. + + """ + result = client.mediasets.MediaSet.reference( + media_set_rid=media_set_rid, + media_item_rid=media_item_rid, + ) + click.echo(repr(result)) + + +@mediasets_media_set.command("upload") +@click.argument("media_set_rid", type=str, required=True) +@click.argument("body", type=click.File("rb"), required=True) +@click.option("--branch_name", type=str, required=False, help="""branchName""") +@click.option("--branch_rid", type=str, required=False, help="""branchRid""") +@click.option("--media_item_path", type=str, required=False, help="""mediaItemPath""") +@click.option("--transaction_id", type=str, required=False, help="""transactionId""") +@click.option("--view_rid", type=str, required=False, help="""viewRid""") +@click.pass_obj +def mediasets_media_set_upload( + client: foundry.v1.FoundryClient, + media_set_rid: str, + body: io.BufferedReader, + branch_name: Optional[str], + branch_rid: Optional[str], + media_item_path: Optional[str], + transaction_id: Optional[str], + view_rid: Optional[str], +): + """ + Uploads a media item to an existing media set. + The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`. + A branch name, or branch rid, or view rid may optionally be specified. If none is specified, the item will be uploaded to the default branch. If more than one is specified, an error is thrown. + + Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-write`. + + """ + result = client.mediasets.MediaSet.upload( + media_set_rid=media_set_rid, + body=body.read(), + branch_name=branch_name, + branch_rid=branch_rid, + media_item_path=media_item_path, + transaction_id=transaction_id, + view_rid=view_rid, + ) + click.echo(repr(result)) + + @cli.group("ontologies") def ontologies(): pass diff --git a/foundry/v1/client.py b/foundry/v1/client.py index 1a5785df..043184f9 100644 --- a/foundry/v1/client.py +++ b/foundry/v1/client.py @@ -26,7 +26,9 @@ class FoundryClient: def __init__(self, auth: Auth, hostname: str): from foundry.v1.datasets.client import DatasetsClient + from foundry.v1.mediasets.client import MediasetsClient from foundry.v1.ontologies.client import OntologiesClient self.datasets = DatasetsClient(auth=auth, hostname=hostname) + self.mediasets = MediasetsClient(auth=auth, hostname=hostname) self.ontologies = OntologiesClient(auth=auth, hostname=hostname) diff --git a/foundry/v1/core/errors/_invalid_parameter_combination.py b/foundry/v1/core/errors/_invalid_parameter_combination.py index 583538e7..1d9aa4d0 100644 --- a/foundry/v1/core/errors/_invalid_parameter_combination.py +++ b/foundry/v1/core/errors/_invalid_parameter_combination.py @@ -30,9 +30,9 @@ class InvalidParameterCombinationParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - validCombinations: List[List[pydantic.StrictStr]] + validCombinations: List[List[str]] - providedParameters: List[pydantic.StrictStr] + providedParameters: List[str] @dataclass diff --git a/foundry/v1/core/errors/_resource_name_already_exists.py b/foundry/v1/core/errors/_resource_name_already_exists.py index ffa990ef..102dcf62 100644 --- a/foundry/v1/core/errors/_resource_name_already_exists.py +++ b/foundry/v1/core/errors/_resource_name_already_exists.py @@ -32,7 +32,7 @@ class ResourceNameAlreadyExistsParameters(TypedDict): parentFolderRid: FolderRid - resourceName: pydantic.StrictStr + resourceName: str @dataclass diff --git a/foundry/v1/core/errors/_unknown_distance_unit.py b/foundry/v1/core/errors/_unknown_distance_unit.py index e1f2680d..ec73df6c 100644 --- a/foundry/v1/core/errors/_unknown_distance_unit.py +++ b/foundry/v1/core/errors/_unknown_distance_unit.py @@ -31,7 +31,7 @@ class UnknownDistanceUnitParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - unknownUnit: pydantic.StrictStr + unknownUnit: str knownUnits: List[DistanceUnit] diff --git a/foundry/v1/core/models/__init__.py b/foundry/v1/core/models/__init__.py index ee26742f..98843355 100644 --- a/foundry/v1/core/models/__init__.py +++ b/foundry/v1/core/models/__init__.py @@ -43,12 +43,21 @@ from foundry.v1.core.models._long_type_dict import LongTypeDict from foundry.v1.core.models._marking_type import MarkingType from foundry.v1.core.models._marking_type_dict import MarkingTypeDict +from foundry.v1.core.models._media_item_path import MediaItemPath from foundry.v1.core.models._media_item_rid import MediaItemRid +from foundry.v1.core.models._media_reference import MediaReference +from foundry.v1.core.models._media_reference_dict import MediaReferenceDict from foundry.v1.core.models._media_set_rid import MediaSetRid +from foundry.v1.core.models._media_set_view_item import MediaSetViewItem +from foundry.v1.core.models._media_set_view_item_dict import MediaSetViewItemDict +from foundry.v1.core.models._media_set_view_rid import MediaSetViewRid +from foundry.v1.core.models._media_type import MediaType from foundry.v1.core.models._null_type_dict import NullTypeDict from foundry.v1.core.models._page_size import PageSize from foundry.v1.core.models._page_token import PageToken from foundry.v1.core.models._preview_mode import PreviewMode +from foundry.v1.core.models._reference import Reference +from foundry.v1.core.models._reference_dict import ReferenceDict from foundry.v1.core.models._release_status import ReleaseStatus from foundry.v1.core.models._short_type import ShortType from foundry.v1.core.models._short_type_dict import ShortTypeDict @@ -60,6 +69,7 @@ from foundry.v1.core.models._total_count import TotalCount from foundry.v1.core.models._unsupported_type import UnsupportedType from foundry.v1.core.models._unsupported_type_dict import UnsupportedTypeDict +from foundry.v1.core.models._user_id import UserId __all__ = [ "AnyType", @@ -92,12 +102,21 @@ "LongTypeDict", "MarkingType", "MarkingTypeDict", + "MediaItemPath", "MediaItemRid", + "MediaReference", + "MediaReferenceDict", "MediaSetRid", + "MediaSetViewItem", + "MediaSetViewItemDict", + "MediaSetViewRid", + "MediaType", "NullTypeDict", "PageSize", "PageToken", "PreviewMode", + "Reference", + "ReferenceDict", "ReleaseStatus", "ShortType", "ShortTypeDict", @@ -109,4 +128,5 @@ "TotalCount", "UnsupportedType", "UnsupportedTypeDict", + "UserId", ] diff --git a/foundry/v1/core/models/_decimal_type.py b/foundry/v1/core/models/_decimal_type.py index 848d5111..d752662d 100644 --- a/foundry/v1/core/models/_decimal_type.py +++ b/foundry/v1/core/models/_decimal_type.py @@ -27,9 +27,9 @@ class DecimalType(pydantic.BaseModel): """DecimalType""" - precision: Optional[pydantic.StrictInt] = None + precision: Optional[int] = None - scale: Optional[pydantic.StrictInt] = None + scale: Optional[int] = None type: Literal["decimal"] = "decimal" diff --git a/foundry/v1/core/models/_decimal_type_dict.py b/foundry/v1/core/models/_decimal_type_dict.py index caeee5f2..9aa8cddf 100644 --- a/foundry/v1/core/models/_decimal_type_dict.py +++ b/foundry/v1/core/models/_decimal_type_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -27,8 +26,8 @@ class DecimalTypeDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - precision: NotRequired[pydantic.StrictInt] + precision: NotRequired[int] - scale: NotRequired[pydantic.StrictInt] + scale: NotRequired[int] type: Literal["decimal"] diff --git a/foundry/v1/core/models/_display_name.py b/foundry/v1/core/models/_display_name.py index a74896a2..08ffe6cd 100644 --- a/foundry/v1/core/models/_display_name.py +++ b/foundry/v1/core/models/_display_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -DisplayName = pydantic.StrictStr +DisplayName = str """The display name of the entity.""" diff --git a/foundry/v1/core/models/_duration.py b/foundry/v1/core/models/_duration.py index 4cad5aa6..18b5684a 100644 --- a/foundry/v1/core/models/_duration.py +++ b/foundry/v1/core/models/_duration.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -Duration = pydantic.StrictStr +Duration = str """An ISO 8601 formatted duration.""" diff --git a/foundry/v1/core/models/_file_path.py b/foundry/v1/core/models/_file_path.py index fe079964..2bbbeb6a 100644 --- a/foundry/v1/core/models/_file_path.py +++ b/foundry/v1/core/models/_file_path.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -FilePath = pydantic.StrictStr +FilePath = str """The path to a File within Foundry. Examples: `my-file.txt`, `path/to/my-file.jpg`, `dataframe.snappy.parquet`.""" diff --git a/foundry/v1/core/models/_media_item_path.py b/foundry/v1/core/models/_media_item_path.py new file mode 100644 index 00000000..908b164f --- /dev/null +++ b/foundry/v1/core/models/_media_item_path.py @@ -0,0 +1,24 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +MediaItemPath = str +""" +A user-specified identifier for a media item within a media set. +Paths must be less than 256 characters long. +If multiple items are written to the same media set at the same path, then when retrieving by path the media +item which was written last is returned. +""" diff --git a/foundry/v1/core/models/_media_reference.py b/foundry/v1/core/models/_media_reference.py new file mode 100644 index 00000000..9c9fc25d --- /dev/null +++ b/foundry/v1/core/models/_media_reference.py @@ -0,0 +1,38 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from typing import cast + +import pydantic + +from foundry.v1.core.models._media_reference_dict import MediaReferenceDict +from foundry.v1.core.models._media_type import MediaType +from foundry.v1.core.models._reference import Reference + + +class MediaReference(pydantic.BaseModel): + """The representation of a media reference.""" + + mime_type: MediaType = pydantic.Field(alias="mimeType") + + reference: Reference + + model_config = {"extra": "allow"} + + def to_dict(self) -> MediaReferenceDict: + """Return the dictionary representation of the model using the field aliases.""" + return cast(MediaReferenceDict, self.model_dump(by_alias=True, exclude_unset=True)) diff --git a/foundry/v1/core/models/_media_reference_dict.py b/foundry/v1/core/models/_media_reference_dict.py new file mode 100644 index 00000000..85b83d4c --- /dev/null +++ b/foundry/v1/core/models/_media_reference_dict.py @@ -0,0 +1,31 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from typing_extensions import TypedDict + +from foundry.v1.core.models._media_type import MediaType +from foundry.v1.core.models._reference_dict import ReferenceDict + + +class MediaReferenceDict(TypedDict): + """The representation of a media reference.""" + + __pydantic_config__ = {"extra": "allow"} # type: ignore + + mimeType: MediaType + + reference: ReferenceDict diff --git a/foundry/v1/core/models/_media_set_view_item.py b/foundry/v1/core/models/_media_set_view_item.py new file mode 100644 index 00000000..510d289f --- /dev/null +++ b/foundry/v1/core/models/_media_set_view_item.py @@ -0,0 +1,44 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from typing import Literal +from typing import cast + +import pydantic + +from foundry.v1.core.models._media_item_rid import MediaItemRid +from foundry.v1.core.models._media_set_rid import MediaSetRid +from foundry.v1.core.models._media_set_view_item_dict import MediaSetViewItemDict +from foundry.v1.core.models._media_set_view_rid import MediaSetViewRid + + +class MediaSetViewItem(pydantic.BaseModel): + """MediaSetViewItem""" + + media_set_rid: MediaSetRid = pydantic.Field(alias="mediaSetRid") + + media_set_view_rid: MediaSetViewRid = pydantic.Field(alias="mediaSetViewRid") + + media_item_rid: MediaItemRid = pydantic.Field(alias="mediaItemRid") + + type: Literal["mediaSetViewItem"] = "mediaSetViewItem" + + model_config = {"extra": "allow"} + + def to_dict(self) -> MediaSetViewItemDict: + """Return the dictionary representation of the model using the field aliases.""" + return cast(MediaSetViewItemDict, self.model_dump(by_alias=True, exclude_unset=True)) diff --git a/foundry/v1/core/models/_media_set_view_item_dict.py b/foundry/v1/core/models/_media_set_view_item_dict.py new file mode 100644 index 00000000..b0a0d455 --- /dev/null +++ b/foundry/v1/core/models/_media_set_view_item_dict.py @@ -0,0 +1,38 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from typing import Literal + +from typing_extensions import TypedDict + +from foundry.v1.core.models._media_item_rid import MediaItemRid +from foundry.v1.core.models._media_set_rid import MediaSetRid +from foundry.v1.core.models._media_set_view_rid import MediaSetViewRid + + +class MediaSetViewItemDict(TypedDict): + """MediaSetViewItem""" + + __pydantic_config__ = {"extra": "allow"} # type: ignore + + mediaSetRid: MediaSetRid + + mediaSetViewRid: MediaSetViewRid + + mediaItemRid: MediaItemRid + + type: Literal["mediaSetViewItem"] diff --git a/foundry/v1/core/models/_media_set_view_rid.py b/foundry/v1/core/models/_media_set_view_rid.py new file mode 100644 index 00000000..40ceb6c7 --- /dev/null +++ b/foundry/v1/core/models/_media_set_view_rid.py @@ -0,0 +1,21 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from foundry._core.utils import RID + +MediaSetViewRid = RID +"""The Resource Identifier (RID) of a single View of a Media Set. A Media Set View is an independent collection of Media Items.""" diff --git a/foundry/v1/core/models/_media_type.py b/foundry/v1/core/models/_media_type.py new file mode 100644 index 00000000..ca10142e --- /dev/null +++ b/foundry/v1/core/models/_media_type.py @@ -0,0 +1,22 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +MediaType = str +""" +The [media type](https://www.iana.org/assignments/media-types/media-types.xhtml) of the file or attachment. +Examples: `application/json`, `application/pdf`, `application/octet-stream`, `image/jpeg` +""" diff --git a/foundry/v1/core/models/_page_size.py b/foundry/v1/core/models/_page_size.py index 01301801..633cc385 100644 --- a/foundry/v1/core/models/_page_size.py +++ b/foundry/v1/core/models/_page_size.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -PageSize = pydantic.StrictInt +PageSize = int """The page size to use for the endpoint.""" diff --git a/foundry/v1/core/models/_page_token.py b/foundry/v1/core/models/_page_token.py index cef5b787..cf5fc49f 100644 --- a/foundry/v1/core/models/_page_token.py +++ b/foundry/v1/core/models/_page_token.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -PageToken = pydantic.StrictStr +PageToken = str """ The page token indicates where to start paging. This should be omitted from the first page's request. To fetch the next page, clients should take the value from the `nextPageToken` field of the previous response diff --git a/foundry/v1/core/models/_preview_mode.py b/foundry/v1/core/models/_preview_mode.py index adc827a3..99fe3eb2 100644 --- a/foundry/v1/core/models/_preview_mode.py +++ b/foundry/v1/core/models/_preview_mode.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -PreviewMode = pydantic.StrictBool +PreviewMode = bool """Enables the use of preview functionality.""" diff --git a/foundry/v1/core/models/_reference.py b/foundry/v1/core/models/_reference.py new file mode 100644 index 00000000..a203a471 --- /dev/null +++ b/foundry/v1/core/models/_reference.py @@ -0,0 +1,21 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from foundry.v1.core.models._media_set_view_item import MediaSetViewItem + +Reference = MediaSetViewItem +"""A union of the types supported by media reference properties.""" diff --git a/foundry/v1/core/models/_reference_dict.py b/foundry/v1/core/models/_reference_dict.py new file mode 100644 index 00000000..1fa08bb6 --- /dev/null +++ b/foundry/v1/core/models/_reference_dict.py @@ -0,0 +1,21 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from foundry.v1.core.models._media_set_view_item_dict import MediaSetViewItemDict + +ReferenceDict = MediaSetViewItemDict +"""A union of the types supported by media reference properties.""" diff --git a/foundry/v1/core/models/_struct_field_name.py b/foundry/v1/core/models/_struct_field_name.py index ef7eaa52..688b7369 100644 --- a/foundry/v1/core/models/_struct_field_name.py +++ b/foundry/v1/core/models/_struct_field_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -StructFieldName = pydantic.StrictStr +StructFieldName = str """The name of a field in a `Struct`.""" diff --git a/foundry/v1/core/models/_total_count.py b/foundry/v1/core/models/_total_count.py index 2436041a..b524349a 100644 --- a/foundry/v1/core/models/_total_count.py +++ b/foundry/v1/core/models/_total_count.py @@ -15,7 +15,7 @@ from __future__ import annotations -import pydantic +from foundry._core.utils import Long -TotalCount = pydantic.StrictStr +TotalCount = Long """The total number of items across all pages.""" diff --git a/foundry/v1/core/models/_unsupported_type.py b/foundry/v1/core/models/_unsupported_type.py index c18b9bbf..3816aead 100644 --- a/foundry/v1/core/models/_unsupported_type.py +++ b/foundry/v1/core/models/_unsupported_type.py @@ -26,7 +26,7 @@ class UnsupportedType(pydantic.BaseModel): """UnsupportedType""" - unsupported_type: pydantic.StrictStr = pydantic.Field(alias="unsupportedType") + unsupported_type: str = pydantic.Field(alias="unsupportedType") type: Literal["unsupported"] = "unsupported" diff --git a/foundry/v1/core/models/_unsupported_type_dict.py b/foundry/v1/core/models/_unsupported_type_dict.py index 96f02348..29ad0ef0 100644 --- a/foundry/v1/core/models/_unsupported_type_dict.py +++ b/foundry/v1/core/models/_unsupported_type_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,6 +25,6 @@ class UnsupportedTypeDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - unsupportedType: pydantic.StrictStr + unsupportedType: str type: Literal["unsupported"] diff --git a/foundry/v1/core/models/_user_id.py b/foundry/v1/core/models/_user_id.py new file mode 100644 index 00000000..26cb7385 --- /dev/null +++ b/foundry/v1/core/models/_user_id.py @@ -0,0 +1,21 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from foundry._core.utils import UUID + +UserId = UUID +"""A Foundry User ID.""" diff --git a/foundry/v1/datasets/dataset.py b/foundry/v1/datasets/dataset.py index fec9a59a..a291a580 100644 --- a/foundry/v1/datasets/dataset.py +++ b/foundry/v1/datasets/dataset.py @@ -253,9 +253,9 @@ def read( stream: Literal[True], format: TableExportFormat, branch_id: Optional[BranchId] = None, - columns: Optional[List[pydantic.StrictStr]] = None, + columns: Optional[List[str]] = None, end_transaction_rid: Optional[TransactionRid] = None, - row_limit: Optional[pydantic.StrictInt] = None, + row_limit: Optional[int] = None, start_transaction_rid: Optional[TransactionRid] = None, chunk_size: Optional[int] = None, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, @@ -274,11 +274,11 @@ def read( :param branch_id: branchId :type branch_id: Optional[BranchId] :param columns: columns - :type columns: Optional[List[pydantic.StrictStr]] + :type columns: Optional[List[str]] :param end_transaction_rid: endTransactionRid :type end_transaction_rid: Optional[TransactionRid] :param row_limit: rowLimit - :type row_limit: Optional[pydantic.StrictInt] + :type row_limit: Optional[int] :param start_transaction_rid: startTransactionRid :type start_transaction_rid: Optional[TransactionRid] :param stream: Whether to stream back the binary data in an iterator. This avoids reading the entire content of the response into memory at once. @@ -299,9 +299,9 @@ def read( *, format: TableExportFormat, branch_id: Optional[BranchId] = None, - columns: Optional[List[pydantic.StrictStr]] = None, + columns: Optional[List[str]] = None, end_transaction_rid: Optional[TransactionRid] = None, - row_limit: Optional[pydantic.StrictInt] = None, + row_limit: Optional[int] = None, start_transaction_rid: Optional[TransactionRid] = None, stream: Literal[False] = False, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, @@ -320,11 +320,11 @@ def read( :param branch_id: branchId :type branch_id: Optional[BranchId] :param columns: columns - :type columns: Optional[List[pydantic.StrictStr]] + :type columns: Optional[List[str]] :param end_transaction_rid: endTransactionRid :type end_transaction_rid: Optional[TransactionRid] :param row_limit: rowLimit - :type row_limit: Optional[pydantic.StrictInt] + :type row_limit: Optional[int] :param start_transaction_rid: startTransactionRid :type start_transaction_rid: Optional[TransactionRid] :param stream: Whether to stream back the binary data in an iterator. This avoids reading the entire content of the response into memory at once. @@ -344,9 +344,9 @@ def read( stream: bool, format: TableExportFormat, branch_id: Optional[BranchId] = None, - columns: Optional[List[pydantic.StrictStr]] = None, + columns: Optional[List[str]] = None, end_transaction_rid: Optional[TransactionRid] = None, - row_limit: Optional[pydantic.StrictInt] = None, + row_limit: Optional[int] = None, start_transaction_rid: Optional[TransactionRid] = None, chunk_size: Optional[int] = None, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, @@ -365,11 +365,11 @@ def read( :param branch_id: branchId :type branch_id: Optional[BranchId] :param columns: columns - :type columns: Optional[List[pydantic.StrictStr]] + :type columns: Optional[List[str]] :param end_transaction_rid: endTransactionRid :type end_transaction_rid: Optional[TransactionRid] :param row_limit: rowLimit - :type row_limit: Optional[pydantic.StrictInt] + :type row_limit: Optional[int] :param start_transaction_rid: startTransactionRid :type start_transaction_rid: Optional[TransactionRid] :param stream: Whether to stream back the binary data in an iterator. This avoids reading the entire content of the response into memory at once. @@ -392,9 +392,9 @@ def read( *, format: TableExportFormat, branch_id: Optional[BranchId] = None, - columns: Optional[List[pydantic.StrictStr]] = None, + columns: Optional[List[str]] = None, end_transaction_rid: Optional[TransactionRid] = None, - row_limit: Optional[pydantic.StrictInt] = None, + row_limit: Optional[int] = None, start_transaction_rid: Optional[TransactionRid] = None, stream: bool = False, chunk_size: Optional[int] = None, @@ -414,11 +414,11 @@ def read( :param branch_id: branchId :type branch_id: Optional[BranchId] :param columns: columns - :type columns: Optional[List[pydantic.StrictStr]] + :type columns: Optional[List[str]] :param end_transaction_rid: endTransactionRid :type end_transaction_rid: Optional[TransactionRid] :param row_limit: rowLimit - :type row_limit: Optional[pydantic.StrictInt] + :type row_limit: Optional[int] :param start_transaction_rid: startTransactionRid :type start_transaction_rid: Optional[TransactionRid] :param stream: Whether to stream back the binary data in an iterator. This avoids reading the entire content of the response into memory at once. diff --git a/foundry/v1/datasets/models/_branch_id.py b/foundry/v1/datasets/models/_branch_id.py index 5d561e8a..7c6eee31 100644 --- a/foundry/v1/datasets/models/_branch_id.py +++ b/foundry/v1/datasets/models/_branch_id.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -BranchId = pydantic.StrictStr +BranchId = str """The identifier (name) of a Branch.""" diff --git a/foundry/v1/datasets/models/_dataset_name.py b/foundry/v1/datasets/models/_dataset_name.py index c542dce6..3a8f02e3 100644 --- a/foundry/v1/datasets/models/_dataset_name.py +++ b/foundry/v1/datasets/models/_dataset_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -DatasetName = pydantic.StrictStr +DatasetName = str """DatasetName""" diff --git a/foundry/v1/datasets/models/_file.py b/foundry/v1/datasets/models/_file.py index 5b9d4863..d8533d80 100644 --- a/foundry/v1/datasets/models/_file.py +++ b/foundry/v1/datasets/models/_file.py @@ -21,6 +21,7 @@ import pydantic +from foundry._core.utils import Long from foundry.v1.core.models._file_path import FilePath from foundry.v1.datasets.models._file_dict import FileDict from foundry.v1.datasets.models._transaction_rid import TransactionRid @@ -33,7 +34,7 @@ class File(pydantic.BaseModel): transaction_rid: TransactionRid = pydantic.Field(alias="transactionRid") - size_bytes: Optional[pydantic.StrictStr] = pydantic.Field(alias="sizeBytes", default=None) + size_bytes: Optional[Long] = pydantic.Field(alias="sizeBytes", default=None) updated_time: datetime = pydantic.Field(alias="updatedTime") diff --git a/foundry/v1/datasets/models/_file_dict.py b/foundry/v1/datasets/models/_file_dict.py index 25fa4973..ce5734c4 100644 --- a/foundry/v1/datasets/models/_file_dict.py +++ b/foundry/v1/datasets/models/_file_dict.py @@ -17,10 +17,10 @@ from datetime import datetime -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict +from foundry._core.utils import Long from foundry.v1.core.models._file_path import FilePath from foundry.v1.datasets.models._transaction_rid import TransactionRid @@ -34,6 +34,6 @@ class FileDict(TypedDict): transactionRid: TransactionRid - sizeBytes: NotRequired[pydantic.StrictStr] + sizeBytes: NotRequired[Long] updatedTime: datetime diff --git a/foundry/v1/mediasets/client.py b/foundry/v1/mediasets/client.py new file mode 100644 index 00000000..1baf9e63 --- /dev/null +++ b/foundry/v1/mediasets/client.py @@ -0,0 +1,24 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from foundry._core import Auth +from foundry.v1.mediasets.media_set import MediaSetClient + + +class MediasetsClient: + def __init__(self, auth: Auth, hostname: str): + self.MediaSet = MediaSetClient(auth=auth, hostname=hostname) diff --git a/foundry/v1/mediasets/media_set.py b/foundry/v1/mediasets/media_set.py new file mode 100644 index 00000000..0f62f540 --- /dev/null +++ b/foundry/v1/mediasets/media_set.py @@ -0,0 +1,473 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from typing import Any +from typing import Dict +from typing import Literal +from typing import Optional +from typing import Union + +import pydantic +from typing_extensions import Annotated +from typing_extensions import overload + +from foundry._core import ApiClient +from foundry._core import Auth +from foundry._core import BinaryStream +from foundry._core import RequestInfo +from foundry._core.utils import maybe_ignore_preview +from foundry._errors import handle_unexpected +from foundry.v1.core.models._media_item_path import MediaItemPath +from foundry.v1.core.models._media_item_rid import MediaItemRid +from foundry.v1.core.models._media_reference import MediaReference +from foundry.v1.core.models._media_set_rid import MediaSetRid +from foundry.v1.core.models._media_set_view_rid import MediaSetViewRid +from foundry.v1.mediasets.models._branch_name import BranchName +from foundry.v1.mediasets.models._branch_rid import BranchRid +from foundry.v1.mediasets.models._get_media_item_info_response import ( + GetMediaItemInfoResponse, +) # NOQA +from foundry.v1.mediasets.models._put_media_item_response import PutMediaItemResponse +from foundry.v1.mediasets.models._transaction_id import TransactionId + + +class MediaSetClient: + def __init__(self, auth: Auth, hostname: str) -> None: + self._api_client = ApiClient(auth=auth, hostname=hostname) + + @maybe_ignore_preview + @pydantic.validate_call + @handle_unexpected + def abort( + self, + media_set_rid: MediaSetRid, + transaction_id: TransactionId, + *, + request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, + ) -> None: + """ + Aborts an open transaction. Items uploaded to the media set during this transaction will be deleted. + + Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-write`. + + :param media_set_rid: mediaSetRid + :type media_set_rid: MediaSetRid + :param transaction_id: transactionId + :type transaction_id: TransactionId + :param request_timeout: timeout setting for this request in seconds. + :type request_timeout: Optional[int] + :return: Returns the result object. + :rtype: None + """ + + return self._api_client.call_api( + RequestInfo( + method="POST", + resource_path="/v2/mediasets/{mediaSetRid}/transactions/{transactionId}/abort", + query_params={}, + path_params={ + "mediaSetRid": media_set_rid, + "transactionId": transaction_id, + }, + header_params={}, + body=None, + body_type=None, + response_type=None, + request_timeout=request_timeout, + ), + ) + + @maybe_ignore_preview + @pydantic.validate_call + @handle_unexpected + def commit( + self, + media_set_rid: MediaSetRid, + transaction_id: TransactionId, + *, + request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, + ) -> None: + """ + Commits an open transaction. On success, items uploaded to the media set during this transaction will become available. + + Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-write`. + + :param media_set_rid: mediaSetRid + :type media_set_rid: MediaSetRid + :param transaction_id: transactionId + :type transaction_id: TransactionId + :param request_timeout: timeout setting for this request in seconds. + :type request_timeout: Optional[int] + :return: Returns the result object. + :rtype: None + """ + + return self._api_client.call_api( + RequestInfo( + method="POST", + resource_path="/v2/mediasets/{mediaSetRid}/transactions/{transactionId}/commit", + query_params={}, + path_params={ + "mediaSetRid": media_set_rid, + "transactionId": transaction_id, + }, + header_params={}, + body=None, + body_type=None, + response_type=None, + request_timeout=request_timeout, + ), + ) + + @maybe_ignore_preview + @pydantic.validate_call + @handle_unexpected + def create( + self, + media_set_rid: MediaSetRid, + *, + branch_name: Optional[BranchName] = None, + request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, + ) -> TransactionId: + """ + Creates a new transaction. Items uploaded to the media set while this transaction is open will not be reflected until the transaction is committed. + + Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-write`. + + :param media_set_rid: mediaSetRid + :type media_set_rid: MediaSetRid + :param branch_name: branchName + :type branch_name: Optional[BranchName] + :param request_timeout: timeout setting for this request in seconds. + :type request_timeout: Optional[int] + :return: Returns the result object. + :rtype: TransactionId + """ + + return self._api_client.call_api( + RequestInfo( + method="POST", + resource_path="/v2/mediasets/{mediaSetRid}/transactions", + query_params={ + "branchName": branch_name, + }, + path_params={ + "mediaSetRid": media_set_rid, + }, + header_params={ + "Accept": "application/json", + }, + body=None, + body_type=None, + response_type=TransactionId, + request_timeout=request_timeout, + ), + ) + + @maybe_ignore_preview + @pydantic.validate_call + @handle_unexpected + def info( + self, + media_set_rid: MediaSetRid, + media_item_rid: MediaItemRid, + *, + request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, + ) -> GetMediaItemInfoResponse: + """ + Gets information about the media item. + + Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-read`. + + :param media_set_rid: mediaSetRid + :type media_set_rid: MediaSetRid + :param media_item_rid: mediaItemRid + :type media_item_rid: MediaItemRid + :param request_timeout: timeout setting for this request in seconds. + :type request_timeout: Optional[int] + :return: Returns the result object. + :rtype: GetMediaItemInfoResponse + """ + + return self._api_client.call_api( + RequestInfo( + method="GET", + resource_path="/v2/mediasets/{mediaSetRid}/items/{mediaItemRid}/info", + query_params={}, + path_params={ + "mediaSetRid": media_set_rid, + "mediaItemRid": media_item_rid, + }, + header_params={ + "Accept": "application/json", + }, + body=None, + body_type=None, + response_type=GetMediaItemInfoResponse, + request_timeout=request_timeout, + ), + ) + + @overload + def read( + self, + media_set_rid: MediaSetRid, + media_item_rid: MediaItemRid, + *, + stream: Literal[True], + chunk_size: Optional[int] = None, + request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, + ) -> BinaryStream: + """ + Gets the content of a media item. + + Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-read`. + + :param media_set_rid: mediaSetRid + :type media_set_rid: MediaSetRid + :param media_item_rid: mediaItemRid + :type media_item_rid: MediaItemRid + :param stream: Whether to stream back the binary data in an iterator. This avoids reading the entire content of the response into memory at once. + :type stream: bool + :param chunk_size: The number of bytes that should be read into memory for each chunk. If set to None, the data will become available as it arrives in whatever size is sent from the host. + :type chunk_size: Optional[int] + :param request_timeout: timeout setting for this request in seconds. + :type request_timeout: Optional[int] + :return: Returns the result object. + :rtype: BinaryStream + """ + ... + + @overload + def read( + self, + media_set_rid: MediaSetRid, + media_item_rid: MediaItemRid, + *, + stream: Literal[False] = False, + request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, + ) -> bytes: + """ + Gets the content of a media item. + + Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-read`. + + :param media_set_rid: mediaSetRid + :type media_set_rid: MediaSetRid + :param media_item_rid: mediaItemRid + :type media_item_rid: MediaItemRid + :param stream: Whether to stream back the binary data in an iterator. This avoids reading the entire content of the response into memory at once. + :type stream: bool + :param request_timeout: timeout setting for this request in seconds. + :type request_timeout: Optional[int] + :return: Returns the result object. + :rtype: bytes + """ + ... + + @overload + def read( + self, + media_set_rid: MediaSetRid, + media_item_rid: MediaItemRid, + *, + stream: bool, + chunk_size: Optional[int] = None, + request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, + ) -> Union[bytes, BinaryStream]: + """ + Gets the content of a media item. + + Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-read`. + + :param media_set_rid: mediaSetRid + :type media_set_rid: MediaSetRid + :param media_item_rid: mediaItemRid + :type media_item_rid: MediaItemRid + :param stream: Whether to stream back the binary data in an iterator. This avoids reading the entire content of the response into memory at once. + :type stream: bool + :param chunk_size: The number of bytes that should be read into memory for each chunk. If set to None, the data will become available as it arrives in whatever size is sent from the host. + :type chunk_size: Optional[int] + :param request_timeout: timeout setting for this request in seconds. + :type request_timeout: Optional[int] + :return: Returns the result object. + :rtype: Union[bytes, BinaryStream] + """ + ... + + @maybe_ignore_preview + @pydantic.validate_call + @handle_unexpected + def read( + self, + media_set_rid: MediaSetRid, + media_item_rid: MediaItemRid, + *, + stream: bool = False, + chunk_size: Optional[int] = None, + request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, + ) -> Union[bytes, BinaryStream]: + """ + Gets the content of a media item. + + Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-read`. + + :param media_set_rid: mediaSetRid + :type media_set_rid: MediaSetRid + :param media_item_rid: mediaItemRid + :type media_item_rid: MediaItemRid + :param stream: Whether to stream back the binary data in an iterator. This avoids reading the entire content of the response into memory at once. + :type stream: bool + :param chunk_size: The number of bytes that should be read into memory for each chunk. If set to None, the data will become available as it arrives in whatever size is sent from the host. + :type chunk_size: Optional[int] + :param request_timeout: timeout setting for this request in seconds. + :type request_timeout: Optional[int] + :return: Returns the result object. + :rtype: Union[bytes, BinaryStream] + """ + + return self._api_client.call_api( + RequestInfo( + method="GET", + resource_path="/v2/mediasets/{mediaSetRid}/items/{mediaItemRid}", + query_params={}, + path_params={ + "mediaSetRid": media_set_rid, + "mediaItemRid": media_item_rid, + }, + header_params={ + "Accept": "*/*", + }, + body=None, + body_type=None, + response_type=bytes, + stream=stream, + chunk_size=chunk_size, + request_timeout=request_timeout, + ), + ) + + @maybe_ignore_preview + @pydantic.validate_call + @handle_unexpected + def reference( + self, + media_set_rid: MediaSetRid, + media_item_rid: MediaItemRid, + *, + request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, + ) -> MediaReference: + """ + Gets the [media reference](/docs/foundry/data-integration/media-sets/#media-references) for this media item. + + Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-read`. + + :param media_set_rid: mediaSetRid + :type media_set_rid: MediaSetRid + :param media_item_rid: mediaItemRid + :type media_item_rid: MediaItemRid + :param request_timeout: timeout setting for this request in seconds. + :type request_timeout: Optional[int] + :return: Returns the result object. + :rtype: MediaReference + """ + + return self._api_client.call_api( + RequestInfo( + method="GET", + resource_path="/v2/mediasets/{mediaSetRid}/items/{mediaItemRid}/reference", + query_params={}, + path_params={ + "mediaSetRid": media_set_rid, + "mediaItemRid": media_item_rid, + }, + header_params={ + "Accept": "application/json", + }, + body=None, + body_type=None, + response_type=MediaReference, + request_timeout=request_timeout, + ), + ) + + @maybe_ignore_preview + @pydantic.validate_call + @handle_unexpected + def upload( + self, + media_set_rid: MediaSetRid, + body: bytes, + *, + branch_name: Optional[BranchName] = None, + branch_rid: Optional[BranchRid] = None, + media_item_path: Optional[MediaItemPath] = None, + transaction_id: Optional[TransactionId] = None, + view_rid: Optional[MediaSetViewRid] = None, + request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, + ) -> PutMediaItemResponse: + """ + Uploads a media item to an existing media set. + The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`. + A branch name, or branch rid, or view rid may optionally be specified. If none is specified, the item will be uploaded to the default branch. If more than one is specified, an error is thrown. + + Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:mediasets-write`. + + :param media_set_rid: mediaSetRid + :type media_set_rid: MediaSetRid + :param body: Body of the request + :type body: bytes + :param branch_name: branchName + :type branch_name: Optional[BranchName] + :param branch_rid: branchRid + :type branch_rid: Optional[BranchRid] + :param media_item_path: mediaItemPath + :type media_item_path: Optional[MediaItemPath] + :param transaction_id: transactionId + :type transaction_id: Optional[TransactionId] + :param view_rid: viewRid + :type view_rid: Optional[MediaSetViewRid] + :param request_timeout: timeout setting for this request in seconds. + :type request_timeout: Optional[int] + :return: Returns the result object. + :rtype: PutMediaItemResponse + """ + + return self._api_client.call_api( + RequestInfo( + method="POST", + resource_path="/v2/mediasets/{mediaSetRid}/items", + query_params={ + "branchName": branch_name, + "branchRid": branch_rid, + "mediaItemPath": media_item_path, + "transactionId": transaction_id, + "viewRid": view_rid, + }, + path_params={ + "mediaSetRid": media_set_rid, + }, + header_params={ + "Content-Type": "*/*", + "Accept": "application/json", + }, + body=body, + body_type=bytes, + response_type=PutMediaItemResponse, + request_timeout=request_timeout, + ), + ) diff --git a/foundry/v1/mediasets/models/__init__.py b/foundry/v1/mediasets/models/__init__.py index 6dd5770f..7ee266e5 100644 --- a/foundry/v1/mediasets/models/__init__.py +++ b/foundry/v1/mediasets/models/__init__.py @@ -13,4 +13,32 @@ # limitations under the License. -__all__ = [] +from foundry.v1.mediasets.models._branch_name import BranchName +from foundry.v1.mediasets.models._branch_rid import BranchRid +from foundry.v1.mediasets.models._get_media_item_info_response import ( + GetMediaItemInfoResponse, +) # NOQA +from foundry.v1.mediasets.models._get_media_item_info_response_dict import ( + GetMediaItemInfoResponseDict, +) # NOQA +from foundry.v1.mediasets.models._logical_timestamp import LogicalTimestamp +from foundry.v1.mediasets.models._media_attribution import MediaAttribution +from foundry.v1.mediasets.models._media_attribution_dict import MediaAttributionDict +from foundry.v1.mediasets.models._put_media_item_response import PutMediaItemResponse +from foundry.v1.mediasets.models._put_media_item_response_dict import ( + PutMediaItemResponseDict, +) # NOQA +from foundry.v1.mediasets.models._transaction_id import TransactionId + +__all__ = [ + "BranchName", + "BranchRid", + "GetMediaItemInfoResponse", + "GetMediaItemInfoResponseDict", + "LogicalTimestamp", + "MediaAttribution", + "MediaAttributionDict", + "PutMediaItemResponse", + "PutMediaItemResponseDict", + "TransactionId", +] diff --git a/foundry/v1/mediasets/models/_branch_name.py b/foundry/v1/mediasets/models/_branch_name.py new file mode 100644 index 00000000..f50a15c7 --- /dev/null +++ b/foundry/v1/mediasets/models/_branch_name.py @@ -0,0 +1,22 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +BranchName = str +""" +A name for a media set branch. Valid branch names must be (a) non-empty, (b) less than 256 characters, and +(c) not a valid ResourceIdentifier. +""" diff --git a/foundry/v1/mediasets/models/_branch_rid.py b/foundry/v1/mediasets/models/_branch_rid.py new file mode 100644 index 00000000..03b3745e --- /dev/null +++ b/foundry/v1/mediasets/models/_branch_rid.py @@ -0,0 +1,21 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from foundry._core.utils import RID + +BranchRid = RID +"""A resource identifier that identifies a branch of a media set.""" diff --git a/foundry/v1/mediasets/models/_get_media_item_info_response.py b/foundry/v1/mediasets/models/_get_media_item_info_response.py new file mode 100644 index 00000000..3e818d15 --- /dev/null +++ b/foundry/v1/mediasets/models/_get_media_item_info_response.py @@ -0,0 +1,49 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from typing import Optional +from typing import cast + +import pydantic + +from foundry.v1.core.models._media_item_path import MediaItemPath +from foundry.v1.core.models._media_set_view_rid import MediaSetViewRid +from foundry.v1.mediasets.models._get_media_item_info_response_dict import ( + GetMediaItemInfoResponseDict, +) # NOQA +from foundry.v1.mediasets.models._logical_timestamp import LogicalTimestamp +from foundry.v1.mediasets.models._media_attribution import MediaAttribution + + +class GetMediaItemInfoResponse(pydantic.BaseModel): + """GetMediaItemInfoResponse""" + + view_rid: MediaSetViewRid = pydantic.Field(alias="viewRid") + + path: Optional[MediaItemPath] = None + + logical_timestamp: LogicalTimestamp = pydantic.Field(alias="logicalTimestamp") + + attribution: Optional[MediaAttribution] = None + + model_config = {"extra": "allow"} + + def to_dict(self) -> GetMediaItemInfoResponseDict: + """Return the dictionary representation of the model using the field aliases.""" + return cast( + GetMediaItemInfoResponseDict, self.model_dump(by_alias=True, exclude_unset=True) + ) diff --git a/foundry/v1/mediasets/models/_get_media_item_info_response_dict.py b/foundry/v1/mediasets/models/_get_media_item_info_response_dict.py new file mode 100644 index 00000000..55248e73 --- /dev/null +++ b/foundry/v1/mediasets/models/_get_media_item_info_response_dict.py @@ -0,0 +1,38 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from typing_extensions import NotRequired +from typing_extensions import TypedDict + +from foundry.v1.core.models._media_item_path import MediaItemPath +from foundry.v1.core.models._media_set_view_rid import MediaSetViewRid +from foundry.v1.mediasets.models._logical_timestamp import LogicalTimestamp +from foundry.v1.mediasets.models._media_attribution_dict import MediaAttributionDict + + +class GetMediaItemInfoResponseDict(TypedDict): + """GetMediaItemInfoResponse""" + + __pydantic_config__ = {"extra": "allow"} # type: ignore + + viewRid: MediaSetViewRid + + path: NotRequired[MediaItemPath] + + logicalTimestamp: LogicalTimestamp + + attribution: NotRequired[MediaAttributionDict] diff --git a/foundry/v1/mediasets/models/_logical_timestamp.py b/foundry/v1/mediasets/models/_logical_timestamp.py new file mode 100644 index 00000000..45f62780 --- /dev/null +++ b/foundry/v1/mediasets/models/_logical_timestamp.py @@ -0,0 +1,27 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from foundry._core.utils import Long + +LogicalTimestamp = Long +""" +A number representing a logical ordering to be used for transactions, etc. +This can be interpreted as a timestamp in microseconds, but may differ slightly from system clock time due +to clock drift and slight adjustments for the sake of ordering. + +Only positive timestamps (representing times after epoch) are supported. +""" diff --git a/foundry/v1/mediasets/models/_media_attribution.py b/foundry/v1/mediasets/models/_media_attribution.py new file mode 100644 index 00000000..3aafa356 --- /dev/null +++ b/foundry/v1/mediasets/models/_media_attribution.py @@ -0,0 +1,40 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from datetime import datetime +from typing import cast + +import pydantic + +from foundry.v1.core.models._user_id import UserId +from foundry.v1.mediasets.models._media_attribution_dict import MediaAttributionDict + + +class MediaAttribution(pydantic.BaseModel): + """MediaAttribution""" + + creator_id: UserId = pydantic.Field(alias="creatorId") + + creation_timestamp: datetime = pydantic.Field(alias="creationTimestamp") + + """The timestamp when the media item was created, in ISO 8601 timestamp format.""" + + model_config = {"extra": "allow"} + + def to_dict(self) -> MediaAttributionDict: + """Return the dictionary representation of the model using the field aliases.""" + return cast(MediaAttributionDict, self.model_dump(by_alias=True, exclude_unset=True)) diff --git a/foundry/v1/mediasets/models/_media_attribution_dict.py b/foundry/v1/mediasets/models/_media_attribution_dict.py new file mode 100644 index 00000000..295ab67c --- /dev/null +++ b/foundry/v1/mediasets/models/_media_attribution_dict.py @@ -0,0 +1,33 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from datetime import datetime + +from typing_extensions import TypedDict + +from foundry.v1.core.models._user_id import UserId + + +class MediaAttributionDict(TypedDict): + """MediaAttribution""" + + __pydantic_config__ = {"extra": "allow"} # type: ignore + + creatorId: UserId + + creationTimestamp: datetime + """The timestamp when the media item was created, in ISO 8601 timestamp format.""" diff --git a/foundry/v1/mediasets/models/_put_media_item_response.py b/foundry/v1/mediasets/models/_put_media_item_response.py new file mode 100644 index 00000000..ac8dd524 --- /dev/null +++ b/foundry/v1/mediasets/models/_put_media_item_response.py @@ -0,0 +1,37 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from typing import cast + +import pydantic + +from foundry.v1.core.models._media_item_rid import MediaItemRid +from foundry.v1.mediasets.models._put_media_item_response_dict import ( + PutMediaItemResponseDict, +) # NOQA + + +class PutMediaItemResponse(pydantic.BaseModel): + """PutMediaItemResponse""" + + media_item_rid: MediaItemRid = pydantic.Field(alias="mediaItemRid") + + model_config = {"extra": "allow"} + + def to_dict(self) -> PutMediaItemResponseDict: + """Return the dictionary representation of the model using the field aliases.""" + return cast(PutMediaItemResponseDict, self.model_dump(by_alias=True, exclude_unset=True)) diff --git a/foundry/v1/mediasets/models/_put_media_item_response_dict.py b/foundry/v1/mediasets/models/_put_media_item_response_dict.py new file mode 100644 index 00000000..c69effd6 --- /dev/null +++ b/foundry/v1/mediasets/models/_put_media_item_response_dict.py @@ -0,0 +1,28 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from typing_extensions import TypedDict + +from foundry.v1.core.models._media_item_rid import MediaItemRid + + +class PutMediaItemResponseDict(TypedDict): + """PutMediaItemResponse""" + + __pydantic_config__ = {"extra": "allow"} # type: ignore + + mediaItemRid: MediaItemRid diff --git a/foundry/v1/mediasets/models/_transaction_id.py b/foundry/v1/mediasets/models/_transaction_id.py new file mode 100644 index 00000000..d946e472 --- /dev/null +++ b/foundry/v1/mediasets/models/_transaction_id.py @@ -0,0 +1,21 @@ +# Copyright 2024 Palantir Technologies, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +from __future__ import annotations + +from foundry._core.utils import UUID + +TransactionId = UUID +"""An identifier which represents a transaction on a media set.""" diff --git a/foundry/v1/ontologies/errors/_aggregation_group_count_exceeded_limit.py b/foundry/v1/ontologies/errors/_aggregation_group_count_exceeded_limit.py index b0640cc4..c4db90c4 100644 --- a/foundry/v1/ontologies/errors/_aggregation_group_count_exceeded_limit.py +++ b/foundry/v1/ontologies/errors/_aggregation_group_count_exceeded_limit.py @@ -36,9 +36,9 @@ class AggregationGroupCountExceededLimitParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - groupsCount: NotRequired[pydantic.StrictInt] + groupsCount: NotRequired[int] - groupsLimit: NotRequired[pydantic.StrictInt] + groupsLimit: NotRequired[int] @dataclass diff --git a/foundry/v1/ontologies/errors/_aggregation_memory_exceeded_limit.py b/foundry/v1/ontologies/errors/_aggregation_memory_exceeded_limit.py index 5a275a29..c32db089 100644 --- a/foundry/v1/ontologies/errors/_aggregation_memory_exceeded_limit.py +++ b/foundry/v1/ontologies/errors/_aggregation_memory_exceeded_limit.py @@ -36,9 +36,9 @@ class AggregationMemoryExceededLimitParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - memoryUsedBytes: NotRequired[pydantic.StrictStr] + memoryUsedBytes: NotRequired[str] - memoryLimitBytes: pydantic.StrictStr + memoryLimitBytes: str @dataclass diff --git a/foundry/v1/ontologies/errors/_aggregation_nested_object_set_size_exceeded_limit.py b/foundry/v1/ontologies/errors/_aggregation_nested_object_set_size_exceeded_limit.py index 2e590ae0..eac30223 100644 --- a/foundry/v1/ontologies/errors/_aggregation_nested_object_set_size_exceeded_limit.py +++ b/foundry/v1/ontologies/errors/_aggregation_nested_object_set_size_exceeded_limit.py @@ -32,9 +32,9 @@ class AggregationNestedObjectSetSizeExceededLimitParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - objectsCount: pydantic.StrictInt + objectsCount: int - objectsLimit: pydantic.StrictInt + objectsLimit: int @dataclass diff --git a/foundry/v1/ontologies/errors/_attachment_size_exceeded_limit.py b/foundry/v1/ontologies/errors/_attachment_size_exceeded_limit.py index 2f80e58b..d5081a6f 100644 --- a/foundry/v1/ontologies/errors/_attachment_size_exceeded_limit.py +++ b/foundry/v1/ontologies/errors/_attachment_size_exceeded_limit.py @@ -32,9 +32,9 @@ class AttachmentSizeExceededLimitParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - fileSizeBytes: pydantic.StrictStr + fileSizeBytes: str - fileLimitBytes: pydantic.StrictStr + fileLimitBytes: str @dataclass diff --git a/foundry/v1/ontologies/errors/_function_encountered_user_facing_error.py b/foundry/v1/ontologies/errors/_function_encountered_user_facing_error.py index 50c4c8ea..4e7e32e8 100644 --- a/foundry/v1/ontologies/errors/_function_encountered_user_facing_error.py +++ b/foundry/v1/ontologies/errors/_function_encountered_user_facing_error.py @@ -38,7 +38,7 @@ class FunctionEncounteredUserFacingErrorParameters(TypedDict): functionVersion: FunctionVersion - message: pydantic.StrictStr + message: str @dataclass diff --git a/foundry/v1/ontologies/errors/_function_execution_failed.py b/foundry/v1/ontologies/errors/_function_execution_failed.py index a483553b..728ddd57 100644 --- a/foundry/v1/ontologies/errors/_function_execution_failed.py +++ b/foundry/v1/ontologies/errors/_function_execution_failed.py @@ -35,9 +35,9 @@ class FunctionExecutionFailedParameters(TypedDict): functionVersion: FunctionVersion - message: NotRequired[pydantic.StrictStr] + message: NotRequired[str] - stacktrace: NotRequired[pydantic.StrictStr] + stacktrace: NotRequired[str] @dataclass diff --git a/foundry/v1/ontologies/errors/_invalid_fields.py b/foundry/v1/ontologies/errors/_invalid_fields.py index 8c98daca..8893a451 100644 --- a/foundry/v1/ontologies/errors/_invalid_fields.py +++ b/foundry/v1/ontologies/errors/_invalid_fields.py @@ -33,7 +33,7 @@ class InvalidFieldsParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - properties: List[pydantic.StrictStr] + properties: List[str] @dataclass diff --git a/foundry/v1/ontologies/errors/_invalid_group_id.py b/foundry/v1/ontologies/errors/_invalid_group_id.py index 51907dc0..b41f8115 100644 --- a/foundry/v1/ontologies/errors/_invalid_group_id.py +++ b/foundry/v1/ontologies/errors/_invalid_group_id.py @@ -29,7 +29,7 @@ class InvalidGroupIdParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - groupId: pydantic.StrictStr + groupId: str @dataclass diff --git a/foundry/v1/ontologies/errors/_invalid_range_query.py b/foundry/v1/ontologies/errors/_invalid_range_query.py index 1641caac..e06ccfca 100644 --- a/foundry/v1/ontologies/errors/_invalid_range_query.py +++ b/foundry/v1/ontologies/errors/_invalid_range_query.py @@ -43,7 +43,7 @@ class InvalidRangeQueryParameters(TypedDict): gte: NotRequired[Any] """Greater than or equal""" - field: pydantic.StrictStr + field: str @dataclass diff --git a/foundry/v1/ontologies/errors/_invalid_sort_order.py b/foundry/v1/ontologies/errors/_invalid_sort_order.py index 4f44ccbc..0fcbaa41 100644 --- a/foundry/v1/ontologies/errors/_invalid_sort_order.py +++ b/foundry/v1/ontologies/errors/_invalid_sort_order.py @@ -32,7 +32,7 @@ class InvalidSortOrderParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - invalidSortOrder: pydantic.StrictStr + invalidSortOrder: str @dataclass diff --git a/foundry/v1/ontologies/errors/_invalid_sort_type.py b/foundry/v1/ontologies/errors/_invalid_sort_type.py index 26911c68..fc63bb8a 100644 --- a/foundry/v1/ontologies/errors/_invalid_sort_type.py +++ b/foundry/v1/ontologies/errors/_invalid_sort_type.py @@ -29,7 +29,7 @@ class InvalidSortTypeParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - invalidSortType: pydantic.StrictStr + invalidSortType: str @dataclass diff --git a/foundry/v1/ontologies/errors/_invalid_user_id.py b/foundry/v1/ontologies/errors/_invalid_user_id.py index bd27a1b4..385e3615 100644 --- a/foundry/v1/ontologies/errors/_invalid_user_id.py +++ b/foundry/v1/ontologies/errors/_invalid_user_id.py @@ -29,7 +29,7 @@ class InvalidUserIdParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - userId: pydantic.StrictStr + userId: str @dataclass diff --git a/foundry/v1/ontologies/errors/_malformed_property_filters.py b/foundry/v1/ontologies/errors/_malformed_property_filters.py index ce1c6a29..3ef917c8 100644 --- a/foundry/v1/ontologies/errors/_malformed_property_filters.py +++ b/foundry/v1/ontologies/errors/_malformed_property_filters.py @@ -29,7 +29,7 @@ class MalformedPropertyFiltersParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - malformedPropertyFilter: pydantic.StrictStr + malformedPropertyFilter: str @dataclass diff --git a/foundry/v1/ontologies/errors/_multiple_group_by_on_field_not_supported.py b/foundry/v1/ontologies/errors/_multiple_group_by_on_field_not_supported.py index ec58287e..d4b23704 100644 --- a/foundry/v1/ontologies/errors/_multiple_group_by_on_field_not_supported.py +++ b/foundry/v1/ontologies/errors/_multiple_group_by_on_field_not_supported.py @@ -30,7 +30,7 @@ class MultipleGroupByOnFieldNotSupportedParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - duplicateFields: List[pydantic.StrictStr] + duplicateFields: List[str] @dataclass diff --git a/foundry/v1/ontologies/errors/_ontology_edits_exceeded_limit.py b/foundry/v1/ontologies/errors/_ontology_edits_exceeded_limit.py index 71180658..c57ae7d6 100644 --- a/foundry/v1/ontologies/errors/_ontology_edits_exceeded_limit.py +++ b/foundry/v1/ontologies/errors/_ontology_edits_exceeded_limit.py @@ -33,9 +33,9 @@ class OntologyEditsExceededLimitParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - editsCount: pydantic.StrictInt + editsCount: int - editsLimit: pydantic.StrictInt + editsLimit: int @dataclass diff --git a/foundry/v1/ontologies/errors/_query_encountered_user_facing_error.py b/foundry/v1/ontologies/errors/_query_encountered_user_facing_error.py index 8d9a4290..93a4a0b6 100644 --- a/foundry/v1/ontologies/errors/_query_encountered_user_facing_error.py +++ b/foundry/v1/ontologies/errors/_query_encountered_user_facing_error.py @@ -38,7 +38,7 @@ class QueryEncounteredUserFacingErrorParameters(TypedDict): functionVersion: FunctionVersion - message: pydantic.StrictStr + message: str @dataclass diff --git a/foundry/v1/ontologies/errors/_query_runtime_error.py b/foundry/v1/ontologies/errors/_query_runtime_error.py index f2279ee2..215880f8 100644 --- a/foundry/v1/ontologies/errors/_query_runtime_error.py +++ b/foundry/v1/ontologies/errors/_query_runtime_error.py @@ -40,11 +40,11 @@ class QueryRuntimeErrorParameters(TypedDict): functionVersion: FunctionVersion - message: NotRequired[pydantic.StrictStr] + message: NotRequired[str] - stacktrace: NotRequired[pydantic.StrictStr] + stacktrace: NotRequired[str] - parameters: Dict[QueryRuntimeErrorParameter, pydantic.StrictStr] + parameters: Dict[QueryRuntimeErrorParameter, str] @dataclass diff --git a/foundry/v1/ontologies/models/_action_type.py b/foundry/v1/ontologies/models/_action_type.py index a591b147..f63288fe 100644 --- a/foundry/v1/ontologies/models/_action_type.py +++ b/foundry/v1/ontologies/models/_action_type.py @@ -37,7 +37,7 @@ class ActionType(pydantic.BaseModel): api_name: ActionTypeApiName = pydantic.Field(alias="apiName") - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None display_name: Optional[DisplayName] = pydantic.Field(alias="displayName", default=None) diff --git a/foundry/v1/ontologies/models/_action_type_api_name.py b/foundry/v1/ontologies/models/_action_type_api_name.py index af775f16..6efb3728 100644 --- a/foundry/v1/ontologies/models/_action_type_api_name.py +++ b/foundry/v1/ontologies/models/_action_type_api_name.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -ActionTypeApiName = pydantic.StrictStr +ActionTypeApiName = str """ The name of the action type in the API. To find the API name for your Action Type, use the `List action types` endpoint or check the **Ontology Manager**. diff --git a/foundry/v1/ontologies/models/_action_type_dict.py b/foundry/v1/ontologies/models/_action_type_dict.py index 43ef0494..f8a65d1e 100644 --- a/foundry/v1/ontologies/models/_action_type_dict.py +++ b/foundry/v1/ontologies/models/_action_type_dict.py @@ -18,7 +18,6 @@ from typing import Dict from typing import List -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -38,7 +37,7 @@ class ActionTypeDict(TypedDict): apiName: ActionTypeApiName - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] displayName: NotRequired[DisplayName] diff --git a/foundry/v1/ontologies/models/_aggregate_objects_response.py b/foundry/v1/ontologies/models/_aggregate_objects_response.py index 0cb4a215..22e9ad8e 100644 --- a/foundry/v1/ontologies/models/_aggregate_objects_response.py +++ b/foundry/v1/ontologies/models/_aggregate_objects_response.py @@ -33,9 +33,7 @@ class AggregateObjectsResponse(pydantic.BaseModel): """AggregateObjectsResponse""" - excluded_items: Optional[pydantic.StrictInt] = pydantic.Field( - alias="excludedItems", default=None - ) + excluded_items: Optional[int] = pydantic.Field(alias="excludedItems", default=None) next_page_token: Optional[PageToken] = pydantic.Field(alias="nextPageToken", default=None) diff --git a/foundry/v1/ontologies/models/_aggregate_objects_response_dict.py b/foundry/v1/ontologies/models/_aggregate_objects_response_dict.py index af8d6c94..dbb37e8c 100644 --- a/foundry/v1/ontologies/models/_aggregate_objects_response_dict.py +++ b/foundry/v1/ontologies/models/_aggregate_objects_response_dict.py @@ -17,7 +17,6 @@ from typing import List -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -32,7 +31,7 @@ class AggregateObjectsResponseDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - excludedItems: NotRequired[pydantic.StrictInt] + excludedItems: NotRequired[int] nextPageToken: NotRequired[PageToken] diff --git a/foundry/v1/ontologies/models/_aggregation_exact_grouping_dict.py b/foundry/v1/ontologies/models/_aggregation_exact_grouping_dict.py index 245352ae..28426da3 100644 --- a/foundry/v1/ontologies/models/_aggregation_exact_grouping_dict.py +++ b/foundry/v1/ontologies/models/_aggregation_exact_grouping_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -31,6 +30,6 @@ class AggregationExactGroupingDict(TypedDict): field: FieldNameV1 - maxGroupCount: NotRequired[pydantic.StrictInt] + maxGroupCount: NotRequired[int] type: Literal["exact"] diff --git a/foundry/v1/ontologies/models/_aggregation_fixed_width_grouping_dict.py b/foundry/v1/ontologies/models/_aggregation_fixed_width_grouping_dict.py index d95ca0a0..8151f88a 100644 --- a/foundry/v1/ontologies/models/_aggregation_fixed_width_grouping_dict.py +++ b/foundry/v1/ontologies/models/_aggregation_fixed_width_grouping_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict from foundry.v1.ontologies.models._field_name_v1 import FieldNameV1 @@ -30,6 +29,6 @@ class AggregationFixedWidthGroupingDict(TypedDict): field: FieldNameV1 - fixedWidth: pydantic.StrictInt + fixedWidth: int type: Literal["fixedWidth"] diff --git a/foundry/v1/ontologies/models/_aggregation_group_key.py b/foundry/v1/ontologies/models/_aggregation_group_key.py index 0957028f..5ab27c8a 100644 --- a/foundry/v1/ontologies/models/_aggregation_group_key.py +++ b/foundry/v1/ontologies/models/_aggregation_group_key.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -AggregationGroupKey = pydantic.StrictStr +AggregationGroupKey = str """AggregationGroupKey""" diff --git a/foundry/v1/ontologies/models/_aggregation_metric_name.py b/foundry/v1/ontologies/models/_aggregation_metric_name.py index f6908f24..27960aee 100644 --- a/foundry/v1/ontologies/models/_aggregation_metric_name.py +++ b/foundry/v1/ontologies/models/_aggregation_metric_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -AggregationMetricName = pydantic.StrictStr +AggregationMetricName = str """A user-specified alias for an aggregation metric name.""" diff --git a/foundry/v1/ontologies/models/_aggregation_metric_result.py b/foundry/v1/ontologies/models/_aggregation_metric_result.py index 9eb969c8..29f6683b 100644 --- a/foundry/v1/ontologies/models/_aggregation_metric_result.py +++ b/foundry/v1/ontologies/models/_aggregation_metric_result.py @@ -28,9 +28,9 @@ class AggregationMetricResult(pydantic.BaseModel): """AggregationMetricResult""" - name: pydantic.StrictStr + name: str - value: Optional[pydantic.StrictFloat] = None + value: Optional[float] = None """TBD""" diff --git a/foundry/v1/ontologies/models/_aggregation_metric_result_dict.py b/foundry/v1/ontologies/models/_aggregation_metric_result_dict.py index 7de28f1a..a8f450ae 100644 --- a/foundry/v1/ontologies/models/_aggregation_metric_result_dict.py +++ b/foundry/v1/ontologies/models/_aggregation_metric_result_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -25,7 +24,7 @@ class AggregationMetricResultDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - name: pydantic.StrictStr + name: str - value: NotRequired[pydantic.StrictFloat] + value: NotRequired[float] """TBD""" diff --git a/foundry/v1/ontologies/models/_all_terms_query_dict.py b/foundry/v1/ontologies/models/_all_terms_query_dict.py index 1b23e147..da21af84 100644 --- a/foundry/v1/ontologies/models/_all_terms_query_dict.py +++ b/foundry/v1/ontologies/models/_all_terms_query_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -35,7 +34,7 @@ class AllTermsQueryDict(TypedDict): field: FieldNameV1 - value: pydantic.StrictStr + value: str fuzzy: NotRequired[Fuzzy] diff --git a/foundry/v1/ontologies/models/_any_term_query_dict.py b/foundry/v1/ontologies/models/_any_term_query_dict.py index 370ac844..cf52c27a 100644 --- a/foundry/v1/ontologies/models/_any_term_query_dict.py +++ b/foundry/v1/ontologies/models/_any_term_query_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -35,7 +34,7 @@ class AnyTermQueryDict(TypedDict): field: FieldNameV1 - value: pydantic.StrictStr + value: str fuzzy: NotRequired[Fuzzy] diff --git a/foundry/v1/ontologies/models/_derived_property_api_name.py b/foundry/v1/ontologies/models/_derived_property_api_name.py index 135f3e45..f2046307 100644 --- a/foundry/v1/ontologies/models/_derived_property_api_name.py +++ b/foundry/v1/ontologies/models/_derived_property_api_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -DerivedPropertyApiName = pydantic.StrictStr +DerivedPropertyApiName = str """The name of the derived property that will be returned.""" diff --git a/foundry/v1/ontologies/models/_field_name_v1.py b/foundry/v1/ontologies/models/_field_name_v1.py index 9438214c..829e169e 100644 --- a/foundry/v1/ontologies/models/_field_name_v1.py +++ b/foundry/v1/ontologies/models/_field_name_v1.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -FieldNameV1 = pydantic.StrictStr +FieldNameV1 = str """A reference to an Ontology object property with the form `properties.{propertyApiName}`.""" diff --git a/foundry/v1/ontologies/models/_filter_value.py b/foundry/v1/ontologies/models/_filter_value.py index 5f1f1f7b..28c38d9f 100644 --- a/foundry/v1/ontologies/models/_filter_value.py +++ b/foundry/v1/ontologies/models/_filter_value.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -FilterValue = pydantic.StrictStr +FilterValue = str """ Represents the value of a property filter. For instance, false is the FilterValue in `properties.{propertyApiName}.isNull=false`. diff --git a/foundry/v1/ontologies/models/_function_version.py b/foundry/v1/ontologies/models/_function_version.py index e0038a52..85cf61ce 100644 --- a/foundry/v1/ontologies/models/_function_version.py +++ b/foundry/v1/ontologies/models/_function_version.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -FunctionVersion = pydantic.StrictStr +FunctionVersion = str """ The version of the given Function, written `..-`, where `-` is optional. Examples: `1.2.3`, `1.2.3-rc1`. diff --git a/foundry/v1/ontologies/models/_fuzzy.py b/foundry/v1/ontologies/models/_fuzzy.py index 138f6e4d..f242ad18 100644 --- a/foundry/v1/ontologies/models/_fuzzy.py +++ b/foundry/v1/ontologies/models/_fuzzy.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -Fuzzy = pydantic.StrictBool +Fuzzy = bool """Setting fuzzy to `true` allows approximate matching in search queries that support it.""" diff --git a/foundry/v1/ontologies/models/_interface_type_api_name.py b/foundry/v1/ontologies/models/_interface_type_api_name.py index 71963298..59421c79 100644 --- a/foundry/v1/ontologies/models/_interface_type_api_name.py +++ b/foundry/v1/ontologies/models/_interface_type_api_name.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -InterfaceTypeApiName = pydantic.StrictStr +InterfaceTypeApiName = str """ The name of the interface type in the API in UpperCamelCase format. To find the API name for your interface type, use the `List interface types` endpoint or check the **Ontology Manager**. diff --git a/foundry/v1/ontologies/models/_is_null_query_dict.py b/foundry/v1/ontologies/models/_is_null_query_dict.py index a64d8084..e492c3e4 100644 --- a/foundry/v1/ontologies/models/_is_null_query_dict.py +++ b/foundry/v1/ontologies/models/_is_null_query_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict from foundry.v1.ontologies.models._field_name_v1 import FieldNameV1 @@ -30,6 +29,6 @@ class IsNullQueryDict(TypedDict): field: FieldNameV1 - value: pydantic.StrictBool + value: bool type: Literal["isNull"] diff --git a/foundry/v1/ontologies/models/_link_type_api_name.py b/foundry/v1/ontologies/models/_link_type_api_name.py index 4b160709..ff5e4c8b 100644 --- a/foundry/v1/ontologies/models/_link_type_api_name.py +++ b/foundry/v1/ontologies/models/_link_type_api_name.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -LinkTypeApiName = pydantic.StrictStr +LinkTypeApiName = str """ The name of the link type in the API. To find the API name for your Link Type, check the **Ontology Manager** application. diff --git a/foundry/v1/ontologies/models/_object_type.py b/foundry/v1/ontologies/models/_object_type.py index c5a75426..0035a3f3 100644 --- a/foundry/v1/ontologies/models/_object_type.py +++ b/foundry/v1/ontologies/models/_object_type.py @@ -41,7 +41,7 @@ class ObjectType(pydantic.BaseModel): status: ReleaseStatus - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None """The description of the object type.""" diff --git a/foundry/v1/ontologies/models/_object_type_api_name.py b/foundry/v1/ontologies/models/_object_type_api_name.py index 6c313d6f..8ffe60ed 100644 --- a/foundry/v1/ontologies/models/_object_type_api_name.py +++ b/foundry/v1/ontologies/models/_object_type_api_name.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -ObjectTypeApiName = pydantic.StrictStr +ObjectTypeApiName = str """ The name of the object type in the API in camelCase format. To find the API name for your Object Type, use the `List object types` endpoint or check the **Ontology Manager**. diff --git a/foundry/v1/ontologies/models/_object_type_dict.py b/foundry/v1/ontologies/models/_object_type_dict.py index ad092a3f..e10d3370 100644 --- a/foundry/v1/ontologies/models/_object_type_dict.py +++ b/foundry/v1/ontologies/models/_object_type_dict.py @@ -18,7 +18,6 @@ from typing import Dict from typing import List -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -42,7 +41,7 @@ class ObjectTypeDict(TypedDict): status: ReleaseStatus - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] """The description of the object type.""" visibility: NotRequired[ObjectTypeVisibility] diff --git a/foundry/v1/ontologies/models/_one_of_constraint.py b/foundry/v1/ontologies/models/_one_of_constraint.py index d8b5d874..8c0a315c 100644 --- a/foundry/v1/ontologies/models/_one_of_constraint.py +++ b/foundry/v1/ontologies/models/_one_of_constraint.py @@ -30,7 +30,7 @@ class OneOfConstraint(pydantic.BaseModel): options: List[ParameterOption] - other_values_allowed: pydantic.StrictBool = pydantic.Field(alias="otherValuesAllowed") + other_values_allowed: bool = pydantic.Field(alias="otherValuesAllowed") """A flag denoting whether custom, user provided values will be considered valid. This is configured via the **Allowed "Other" value** toggle in the **Ontology Manager**.""" diff --git a/foundry/v1/ontologies/models/_one_of_constraint_dict.py b/foundry/v1/ontologies/models/_one_of_constraint_dict.py index 589901d1..85fad7a8 100644 --- a/foundry/v1/ontologies/models/_one_of_constraint_dict.py +++ b/foundry/v1/ontologies/models/_one_of_constraint_dict.py @@ -18,7 +18,6 @@ from typing import List from typing import Literal -import pydantic from typing_extensions import TypedDict from foundry.v1.ontologies.models._parameter_option_dict import ParameterOptionDict @@ -31,7 +30,7 @@ class OneOfConstraintDict(TypedDict): options: List[ParameterOptionDict] - otherValuesAllowed: pydantic.StrictBool + otherValuesAllowed: bool """A flag denoting whether custom, user provided values will be considered valid. This is configured via the **Allowed "Other" value** toggle in the **Ontology Manager**.""" type: Literal["oneOf"] diff --git a/foundry/v1/ontologies/models/_ontology.py b/foundry/v1/ontologies/models/_ontology.py index 34f77174..2634198a 100644 --- a/foundry/v1/ontologies/models/_ontology.py +++ b/foundry/v1/ontologies/models/_ontology.py @@ -32,7 +32,7 @@ class Ontology(pydantic.BaseModel): display_name: DisplayName = pydantic.Field(alias="displayName") - description: pydantic.StrictStr + description: str rid: OntologyRid diff --git a/foundry/v1/ontologies/models/_ontology_api_name.py b/foundry/v1/ontologies/models/_ontology_api_name.py index e4546e36..be130e92 100644 --- a/foundry/v1/ontologies/models/_ontology_api_name.py +++ b/foundry/v1/ontologies/models/_ontology_api_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -OntologyApiName = pydantic.StrictStr +OntologyApiName = str """OntologyApiName""" diff --git a/foundry/v1/ontologies/models/_ontology_data_type.py b/foundry/v1/ontologies/models/_ontology_data_type.py index 764574a5..6084bd9b 100644 --- a/foundry/v1/ontologies/models/_ontology_data_type.py +++ b/foundry/v1/ontologies/models/_ontology_data_type.py @@ -56,7 +56,7 @@ class OntologyStructField(pydantic.BaseModel): field_type: OntologyDataType = pydantic.Field(alias="fieldType") - required: pydantic.StrictBool + required: bool model_config = {"extra": "allow"} diff --git a/foundry/v1/ontologies/models/_ontology_data_type_dict.py b/foundry/v1/ontologies/models/_ontology_data_type_dict.py index d198505c..0213ed86 100644 --- a/foundry/v1/ontologies/models/_ontology_data_type_dict.py +++ b/foundry/v1/ontologies/models/_ontology_data_type_dict.py @@ -55,7 +55,7 @@ class OntologyStructFieldDict(TypedDict): fieldType: OntologyDataTypeDict - required: pydantic.StrictBool + required: bool class OntologyStructTypeDict(TypedDict): diff --git a/foundry/v1/ontologies/models/_ontology_dict.py b/foundry/v1/ontologies/models/_ontology_dict.py index 7067375e..62b3b1e5 100644 --- a/foundry/v1/ontologies/models/_ontology_dict.py +++ b/foundry/v1/ontologies/models/_ontology_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import TypedDict from foundry.v1.core.models._display_name import DisplayName @@ -32,6 +31,6 @@ class OntologyDict(TypedDict): displayName: DisplayName - description: pydantic.StrictStr + description: str rid: OntologyRid diff --git a/foundry/v1/ontologies/models/_ontology_struct_field.py b/foundry/v1/ontologies/models/_ontology_struct_field.py index 8a2ae2fa..3d658f6a 100644 --- a/foundry/v1/ontologies/models/_ontology_struct_field.py +++ b/foundry/v1/ontologies/models/_ontology_struct_field.py @@ -31,7 +31,7 @@ class OntologyStructField(pydantic.BaseModel): field_type: OntologyDataType = pydantic.Field(alias="fieldType") - required: pydantic.StrictBool + required: bool model_config = {"extra": "allow"} diff --git a/foundry/v1/ontologies/models/_ontology_struct_field_dict.py b/foundry/v1/ontologies/models/_ontology_struct_field_dict.py index dde47994..0f17e325 100644 --- a/foundry/v1/ontologies/models/_ontology_struct_field_dict.py +++ b/foundry/v1/ontologies/models/_ontology_struct_field_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import TypedDict from foundry.v1.core.models._struct_field_name import StructFieldName @@ -31,4 +30,4 @@ class OntologyStructFieldDict(TypedDict): fieldType: OntologyDataTypeDict - required: pydantic.StrictBool + required: bool diff --git a/foundry/v1/ontologies/models/_order_by.py b/foundry/v1/ontologies/models/_order_by.py index 91e50911..9573e01e 100644 --- a/foundry/v1/ontologies/models/_order_by.py +++ b/foundry/v1/ontologies/models/_order_by.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -OrderBy = pydantic.StrictStr +OrderBy = str """ A command representing the list of properties to order by. Properties should be delimited by commas and prefixed by `p` or `properties`. The format expected format is diff --git a/foundry/v1/ontologies/models/_parameter.py b/foundry/v1/ontologies/models/_parameter.py index 64fe632a..7e43727c 100644 --- a/foundry/v1/ontologies/models/_parameter.py +++ b/foundry/v1/ontologies/models/_parameter.py @@ -28,13 +28,13 @@ class Parameter(pydantic.BaseModel): """Details about a parameter of an action or query.""" - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None base_type: ValueType = pydantic.Field(alias="baseType") data_type: Optional[OntologyDataType] = pydantic.Field(alias="dataType", default=None) - required: pydantic.StrictBool + required: bool model_config = {"extra": "allow"} diff --git a/foundry/v1/ontologies/models/_parameter_dict.py b/foundry/v1/ontologies/models/_parameter_dict.py index 84790b88..ce32d303 100644 --- a/foundry/v1/ontologies/models/_parameter_dict.py +++ b/foundry/v1/ontologies/models/_parameter_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -28,10 +27,10 @@ class ParameterDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] baseType: ValueType dataType: NotRequired[OntologyDataTypeDict] - required: pydantic.StrictBool + required: bool diff --git a/foundry/v1/ontologies/models/_parameter_evaluation_result.py b/foundry/v1/ontologies/models/_parameter_evaluation_result.py index 726bf7d1..2e4c2563 100644 --- a/foundry/v1/ontologies/models/_parameter_evaluation_result.py +++ b/foundry/v1/ontologies/models/_parameter_evaluation_result.py @@ -38,7 +38,7 @@ class ParameterEvaluationResult(pydantic.BaseModel): alias="evaluatedConstraints" ) - required: pydantic.StrictBool + required: bool """Represents whether the parameter is a required input to the action.""" diff --git a/foundry/v1/ontologies/models/_parameter_evaluation_result_dict.py b/foundry/v1/ontologies/models/_parameter_evaluation_result_dict.py index 0af30687..efc29cf7 100644 --- a/foundry/v1/ontologies/models/_parameter_evaluation_result_dict.py +++ b/foundry/v1/ontologies/models/_parameter_evaluation_result_dict.py @@ -17,7 +17,6 @@ from typing import List -import pydantic from typing_extensions import TypedDict from foundry.v1.ontologies.models._parameter_evaluated_constraint_dict import ( @@ -35,5 +34,5 @@ class ParameterEvaluationResultDict(TypedDict): evaluatedConstraints: List[ParameterEvaluatedConstraintDict] - required: pydantic.StrictBool + required: bool """Represents whether the parameter is a required input to the action.""" diff --git a/foundry/v1/ontologies/models/_parameter_id.py b/foundry/v1/ontologies/models/_parameter_id.py index 685d7e59..70d828b7 100644 --- a/foundry/v1/ontologies/models/_parameter_id.py +++ b/foundry/v1/ontologies/models/_parameter_id.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -ParameterId = pydantic.StrictStr +ParameterId = str """ The unique identifier of the parameter. Parameters are used as inputs when an action or query is applied. Parameters can be viewed and managed in the **Ontology Manager**. diff --git a/foundry/v1/ontologies/models/_phrase_query_dict.py b/foundry/v1/ontologies/models/_phrase_query_dict.py index b2e1ae8d..14280e08 100644 --- a/foundry/v1/ontologies/models/_phrase_query_dict.py +++ b/foundry/v1/ontologies/models/_phrase_query_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict from foundry.v1.ontologies.models._field_name_v1 import FieldNameV1 @@ -30,6 +29,6 @@ class PhraseQueryDict(TypedDict): field: FieldNameV1 - value: pydantic.StrictStr + value: str type: Literal["phrase"] diff --git a/foundry/v1/ontologies/models/_prefix_query_dict.py b/foundry/v1/ontologies/models/_prefix_query_dict.py index a4082fe7..51d89e67 100644 --- a/foundry/v1/ontologies/models/_prefix_query_dict.py +++ b/foundry/v1/ontologies/models/_prefix_query_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict from foundry.v1.ontologies.models._field_name_v1 import FieldNameV1 @@ -30,6 +29,6 @@ class PrefixQueryDict(TypedDict): field: FieldNameV1 - value: pydantic.StrictStr + value: str type: Literal["prefix"] diff --git a/foundry/v1/ontologies/models/_property.py b/foundry/v1/ontologies/models/_property.py index e65f842e..bb90543f 100644 --- a/foundry/v1/ontologies/models/_property.py +++ b/foundry/v1/ontologies/models/_property.py @@ -28,7 +28,7 @@ class Property(pydantic.BaseModel): """Details about some property of an object.""" - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None display_name: Optional[DisplayName] = pydantic.Field(alias="displayName", default=None) diff --git a/foundry/v1/ontologies/models/_property_api_name.py b/foundry/v1/ontologies/models/_property_api_name.py index c0febb74..8160ab5e 100644 --- a/foundry/v1/ontologies/models/_property_api_name.py +++ b/foundry/v1/ontologies/models/_property_api_name.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -PropertyApiName = pydantic.StrictStr +PropertyApiName = str """ The name of the property in the API. To find the API name for your property, use the `Get object type` endpoint or check the **Ontology Manager**. diff --git a/foundry/v1/ontologies/models/_property_dict.py b/foundry/v1/ontologies/models/_property_dict.py index 8bb7efe8..7a4875ee 100644 --- a/foundry/v1/ontologies/models/_property_dict.py +++ b/foundry/v1/ontologies/models/_property_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -28,7 +27,7 @@ class PropertyDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] displayName: NotRequired[DisplayName] diff --git a/foundry/v1/ontologies/models/_property_filter.py b/foundry/v1/ontologies/models/_property_filter.py index 3a6f24a8..7e259abc 100644 --- a/foundry/v1/ontologies/models/_property_filter.py +++ b/foundry/v1/ontologies/models/_property_filter.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -PropertyFilter = pydantic.StrictStr +PropertyFilter = str """ Represents a filter used on properties. diff --git a/foundry/v1/ontologies/models/_property_id.py b/foundry/v1/ontologies/models/_property_id.py index 27a97fce..e4277944 100644 --- a/foundry/v1/ontologies/models/_property_id.py +++ b/foundry/v1/ontologies/models/_property_id.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -PropertyId = pydantic.StrictStr +PropertyId = str """ The immutable ID of a property. Property IDs are only used to identify properties in the **Ontology Manager** application and assign them API names. In every other case, API names should be used instead of property IDs. diff --git a/foundry/v1/ontologies/models/_property_value_escaped_string.py b/foundry/v1/ontologies/models/_property_value_escaped_string.py index 3211d2bd..3a0c778a 100644 --- a/foundry/v1/ontologies/models/_property_value_escaped_string.py +++ b/foundry/v1/ontologies/models/_property_value_escaped_string.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -PropertyValueEscapedString = pydantic.StrictStr +PropertyValueEscapedString = str """Represents the value of a property in string format. This is used in URL parameters.""" diff --git a/foundry/v1/ontologies/models/_query_api_name.py b/foundry/v1/ontologies/models/_query_api_name.py index 05ca63a3..74ecf62f 100644 --- a/foundry/v1/ontologies/models/_query_api_name.py +++ b/foundry/v1/ontologies/models/_query_api_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -QueryApiName = pydantic.StrictStr +QueryApiName = str """The name of the Query in the API.""" diff --git a/foundry/v1/ontologies/models/_query_runtime_error_parameter.py b/foundry/v1/ontologies/models/_query_runtime_error_parameter.py index fe3fa7a2..83ebbda9 100644 --- a/foundry/v1/ontologies/models/_query_runtime_error_parameter.py +++ b/foundry/v1/ontologies/models/_query_runtime_error_parameter.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -QueryRuntimeErrorParameter = pydantic.StrictStr +QueryRuntimeErrorParameter = str """QueryRuntimeErrorParameter""" diff --git a/foundry/v1/ontologies/models/_query_type.py b/foundry/v1/ontologies/models/_query_type.py index 842a183e..aa3631da 100644 --- a/foundry/v1/ontologies/models/_query_type.py +++ b/foundry/v1/ontologies/models/_query_type.py @@ -36,7 +36,7 @@ class QueryType(pydantic.BaseModel): api_name: QueryApiName = pydantic.Field(alias="apiName") - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None display_name: Optional[DisplayName] = pydantic.Field(alias="displayName", default=None) diff --git a/foundry/v1/ontologies/models/_query_type_dict.py b/foundry/v1/ontologies/models/_query_type_dict.py index 807e6ade..04e6f783 100644 --- a/foundry/v1/ontologies/models/_query_type_dict.py +++ b/foundry/v1/ontologies/models/_query_type_dict.py @@ -17,7 +17,6 @@ from typing import Dict -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -37,7 +36,7 @@ class QueryTypeDict(TypedDict): apiName: QueryApiName - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] displayName: NotRequired[DisplayName] diff --git a/foundry/v1/ontologies/models/_sdk_package_name.py b/foundry/v1/ontologies/models/_sdk_package_name.py index 2e0421b8..38baf975 100644 --- a/foundry/v1/ontologies/models/_sdk_package_name.py +++ b/foundry/v1/ontologies/models/_sdk_package_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -SdkPackageName = pydantic.StrictStr +SdkPackageName = str """SdkPackageName""" diff --git a/foundry/v1/ontologies/models/_search_ordering_dict.py b/foundry/v1/ontologies/models/_search_ordering_dict.py index c0656c78..a72f135e 100644 --- a/foundry/v1/ontologies/models/_search_ordering_dict.py +++ b/foundry/v1/ontologies/models/_search_ordering_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -29,5 +28,5 @@ class SearchOrderingDict(TypedDict): field: FieldNameV1 - direction: NotRequired[pydantic.StrictStr] + direction: NotRequired[str] """Specifies the ordering direction (can be either `asc` or `desc`)""" diff --git a/foundry/v1/ontologies/models/_selected_property_api_name.py b/foundry/v1/ontologies/models/_selected_property_api_name.py index 8da9a339..f75be38c 100644 --- a/foundry/v1/ontologies/models/_selected_property_api_name.py +++ b/foundry/v1/ontologies/models/_selected_property_api_name.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -SelectedPropertyApiName = pydantic.StrictStr +SelectedPropertyApiName = str """ By default, anytime an object is requested, every property belonging to that object is returned. The response can be filtered to only include certain properties using the `properties` query parameter. diff --git a/foundry/v1/ontologies/models/_shared_property_type_api_name.py b/foundry/v1/ontologies/models/_shared_property_type_api_name.py index 371298ce..02dd5b09 100644 --- a/foundry/v1/ontologies/models/_shared_property_type_api_name.py +++ b/foundry/v1/ontologies/models/_shared_property_type_api_name.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -SharedPropertyTypeApiName = pydantic.StrictStr +SharedPropertyTypeApiName = str """ The name of the shared property type in the API in lowerCamelCase format. To find the API name for your shared property type, use the `List shared property types` endpoint or check the **Ontology Manager**. diff --git a/foundry/v1/ontologies/models/_string_regex_match_constraint.py b/foundry/v1/ontologies/models/_string_regex_match_constraint.py index e5143d5a..0a03c05d 100644 --- a/foundry/v1/ontologies/models/_string_regex_match_constraint.py +++ b/foundry/v1/ontologies/models/_string_regex_match_constraint.py @@ -29,11 +29,11 @@ class StringRegexMatchConstraint(pydantic.BaseModel): """The parameter value must match a predefined regular expression.""" - regex: pydantic.StrictStr + regex: str """The regular expression configured in the **Ontology Manager**.""" - configured_failure_message: Optional[pydantic.StrictStr] = pydantic.Field( + configured_failure_message: Optional[str] = pydantic.Field( alias="configuredFailureMessage", default=None ) diff --git a/foundry/v1/ontologies/models/_string_regex_match_constraint_dict.py b/foundry/v1/ontologies/models/_string_regex_match_constraint_dict.py index 6407a364..0d866724 100644 --- a/foundry/v1/ontologies/models/_string_regex_match_constraint_dict.py +++ b/foundry/v1/ontologies/models/_string_regex_match_constraint_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -27,10 +26,10 @@ class StringRegexMatchConstraintDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - regex: pydantic.StrictStr + regex: str """The regular expression configured in the **Ontology Manager**.""" - configuredFailureMessage: NotRequired[pydantic.StrictStr] + configuredFailureMessage: NotRequired[str] """ The message indicating that the regular expression was not matched. This is configured per parameter in the **Ontology Manager**. diff --git a/foundry/v1/ontologies/models/_submission_criteria_evaluation.py b/foundry/v1/ontologies/models/_submission_criteria_evaluation.py index 8166009e..26ac9240 100644 --- a/foundry/v1/ontologies/models/_submission_criteria_evaluation.py +++ b/foundry/v1/ontologies/models/_submission_criteria_evaluation.py @@ -33,7 +33,7 @@ class SubmissionCriteriaEvaluation(pydantic.BaseModel): These are configured in the **Ontology Manager**. """ - configured_failure_message: Optional[pydantic.StrictStr] = pydantic.Field( + configured_failure_message: Optional[str] = pydantic.Field( alias="configuredFailureMessage", default=None ) diff --git a/foundry/v1/ontologies/models/_submission_criteria_evaluation_dict.py b/foundry/v1/ontologies/models/_submission_criteria_evaluation_dict.py index 55d6b901..5fdc4d18 100644 --- a/foundry/v1/ontologies/models/_submission_criteria_evaluation_dict.py +++ b/foundry/v1/ontologies/models/_submission_criteria_evaluation_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -31,7 +30,7 @@ class SubmissionCriteriaEvaluationDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - configuredFailureMessage: NotRequired[pydantic.StrictStr] + configuredFailureMessage: NotRequired[str] """ The message indicating one of the **submission criteria** was not satisfied. This is configured per **submission criteria** in the **Ontology Manager**. diff --git a/foundry/v1/ontologies/models/_value_type.py b/foundry/v1/ontologies/models/_value_type.py index f61a8ab1..9efe21f5 100644 --- a/foundry/v1/ontologies/models/_value_type.py +++ b/foundry/v1/ontologies/models/_value_type.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -ValueType = pydantic.StrictStr +ValueType = str """ A string indicating the type of each data value. Note that these types can be nested, for example an array of structs. diff --git a/foundry/v2/admin/errors/_group_name_already_exists.py b/foundry/v2/admin/errors/_group_name_already_exists.py index 9ff769a1..fdfced63 100644 --- a/foundry/v2/admin/errors/_group_name_already_exists.py +++ b/foundry/v2/admin/errors/_group_name_already_exists.py @@ -29,7 +29,7 @@ class GroupNameAlreadyExistsParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - groupName: pydantic.StrictStr + groupName: str @dataclass diff --git a/foundry/v2/admin/errors/_invalid_group_membership_expiration.py b/foundry/v2/admin/errors/_invalid_group_membership_expiration.py index e3b82b68..b5bc5c1b 100644 --- a/foundry/v2/admin/errors/_invalid_group_membership_expiration.py +++ b/foundry/v2/admin/errors/_invalid_group_membership_expiration.py @@ -37,7 +37,7 @@ class InvalidGroupMembershipExpirationParameters(TypedDict): expirationProvided: NotRequired[GroupMembershipExpiration] - maximumDuration: NotRequired[pydantic.StrictStr] + maximumDuration: NotRequired[str] latestExpiration: NotRequired[datetime] diff --git a/foundry/v2/admin/group.py b/foundry/v2/admin/group.py index a8c8cfd3..7cf7d19c 100644 --- a/foundry/v2/admin/group.py +++ b/foundry/v2/admin/group.py @@ -65,7 +65,7 @@ def create( attributes: Dict[AttributeName, AttributeValues], name: GroupName, organizations: List[OrganizationRid], - description: Optional[pydantic.StrictStr] = None, + description: Optional[str] = None, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, ) -> Group: """ @@ -77,7 +77,7 @@ def create( :param organizations: The RIDs of the Organizations whose members can see this group. At least one Organization RID must be listed. :type organizations: List[OrganizationRid] :param description: A description of the Group. - :type description: Optional[pydantic.StrictStr] + :type description: Optional[str] :param request_timeout: timeout setting for this request in seconds. :type request_timeout: Optional[int] :return: Returns the result object. @@ -105,7 +105,7 @@ def create( { # type: ignore "name": GroupName, "organizations": List[OrganizationRid], - "description": Optional[pydantic.StrictStr], + "description": Optional[str], "attributes": Dict[AttributeName, AttributeValues], }, ), diff --git a/foundry/v2/admin/group_member.py b/foundry/v2/admin/group_member.py index 2c01bb35..c29e2bd4 100644 --- a/foundry/v2/admin/group_member.py +++ b/foundry/v2/admin/group_member.py @@ -104,7 +104,7 @@ def list( *, page_size: Optional[PageSize] = None, page_token: Optional[PageToken] = None, - transitive: Optional[pydantic.StrictBool] = None, + transitive: Optional[bool] = None, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, ) -> ResourceIterator[GroupMember]: """ @@ -123,7 +123,7 @@ def list( :param page_token: pageToken :type page_token: Optional[PageToken] :param transitive: transitive - :type transitive: Optional[pydantic.StrictBool] + :type transitive: Optional[bool] :param request_timeout: timeout setting for this request in seconds. :type request_timeout: Optional[int] :return: Returns the result object. @@ -161,7 +161,7 @@ def page( *, page_size: Optional[PageSize] = None, page_token: Optional[PageToken] = None, - transitive: Optional[pydantic.StrictBool] = None, + transitive: Optional[bool] = None, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, ) -> ListGroupMembersResponse: """ @@ -180,7 +180,7 @@ def page( :param page_token: pageToken :type page_token: Optional[PageToken] :param transitive: transitive - :type transitive: Optional[pydantic.StrictBool] + :type transitive: Optional[bool] :param request_timeout: timeout setting for this request in seconds. :type request_timeout: Optional[int] :return: Returns the result object. diff --git a/foundry/v2/admin/group_membership.py b/foundry/v2/admin/group_membership.py index 8f3e57fe..9fd8f6f3 100644 --- a/foundry/v2/admin/group_membership.py +++ b/foundry/v2/admin/group_membership.py @@ -51,7 +51,7 @@ def list( *, page_size: Optional[PageSize] = None, page_token: Optional[PageToken] = None, - transitive: Optional[pydantic.StrictBool] = None, + transitive: Optional[bool] = None, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, ) -> ResourceIterator[GroupMembership]: """ @@ -70,7 +70,7 @@ def list( :param page_token: pageToken :type page_token: Optional[PageToken] :param transitive: transitive - :type transitive: Optional[pydantic.StrictBool] + :type transitive: Optional[bool] :param request_timeout: timeout setting for this request in seconds. :type request_timeout: Optional[int] :return: Returns the result object. @@ -108,7 +108,7 @@ def page( *, page_size: Optional[PageSize] = None, page_token: Optional[PageToken] = None, - transitive: Optional[pydantic.StrictBool] = None, + transitive: Optional[bool] = None, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, ) -> ListGroupMembershipsResponse: """ @@ -127,7 +127,7 @@ def page( :param page_token: pageToken :type page_token: Optional[PageToken] :param transitive: transitive - :type transitive: Optional[pydantic.StrictBool] + :type transitive: Optional[bool] :param request_timeout: timeout setting for this request in seconds. :type request_timeout: Optional[int] :return: Returns the result object. diff --git a/foundry/v2/admin/marking_member.py b/foundry/v2/admin/marking_member.py index 4a9d02d8..fb975524 100644 --- a/foundry/v2/admin/marking_member.py +++ b/foundry/v2/admin/marking_member.py @@ -108,7 +108,7 @@ def list( page_size: Optional[PageSize] = None, page_token: Optional[PageToken] = None, preview: Optional[PreviewMode] = None, - transitive: Optional[pydantic.StrictBool] = None, + transitive: Optional[bool] = None, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, ) -> ResourceIterator[MarkingMember]: """ @@ -124,7 +124,7 @@ def list( :param preview: preview :type preview: Optional[PreviewMode] :param transitive: transitive - :type transitive: Optional[pydantic.StrictBool] + :type transitive: Optional[bool] :param request_timeout: timeout setting for this request in seconds. :type request_timeout: Optional[int] :return: Returns the result object. @@ -164,7 +164,7 @@ def page( page_size: Optional[PageSize] = None, page_token: Optional[PageToken] = None, preview: Optional[PreviewMode] = None, - transitive: Optional[pydantic.StrictBool] = None, + transitive: Optional[bool] = None, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, ) -> ListMarkingMembersResponse: """ @@ -180,7 +180,7 @@ def page( :param preview: preview :type preview: Optional[PreviewMode] :param transitive: transitive - :type transitive: Optional[pydantic.StrictBool] + :type transitive: Optional[bool] :param request_timeout: timeout setting for this request in seconds. :type request_timeout: Optional[int] :return: Returns the result object. diff --git a/foundry/v2/admin/models/_attribute_name.py b/foundry/v2/admin/models/_attribute_name.py index 2979bfb2..5582f5a2 100644 --- a/foundry/v2/admin/models/_attribute_name.py +++ b/foundry/v2/admin/models/_attribute_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -AttributeName = pydantic.StrictStr +AttributeName = str """AttributeName""" diff --git a/foundry/v2/admin/models/_attribute_value.py b/foundry/v2/admin/models/_attribute_value.py index 644ac972..268ea08b 100644 --- a/foundry/v2/admin/models/_attribute_value.py +++ b/foundry/v2/admin/models/_attribute_value.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -AttributeValue = pydantic.StrictStr +AttributeValue = str """AttributeValue""" diff --git a/foundry/v2/admin/models/_enrollment_name.py b/foundry/v2/admin/models/_enrollment_name.py index f2cae553..494a3b79 100644 --- a/foundry/v2/admin/models/_enrollment_name.py +++ b/foundry/v2/admin/models/_enrollment_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -EnrollmentName = pydantic.StrictStr +EnrollmentName = str """EnrollmentName""" diff --git a/foundry/v2/admin/models/_group.py b/foundry/v2/admin/models/_group.py index 61f5987d..78245a5e 100644 --- a/foundry/v2/admin/models/_group.py +++ b/foundry/v2/admin/models/_group.py @@ -40,7 +40,7 @@ class Group(pydantic.BaseModel): """The name of the Group.""" - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None """A description of the Group.""" diff --git a/foundry/v2/admin/models/_group_dict.py b/foundry/v2/admin/models/_group_dict.py index 3d243c77..c3e87d9d 100644 --- a/foundry/v2/admin/models/_group_dict.py +++ b/foundry/v2/admin/models/_group_dict.py @@ -18,7 +18,6 @@ from typing import Dict from typing import List -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -40,7 +39,7 @@ class GroupDict(TypedDict): name: GroupName """The name of the Group.""" - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] """A description of the Group.""" realm: Realm diff --git a/foundry/v2/admin/models/_group_name.py b/foundry/v2/admin/models/_group_name.py index c5189701..d2657b6c 100644 --- a/foundry/v2/admin/models/_group_name.py +++ b/foundry/v2/admin/models/_group_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -GroupName = pydantic.StrictStr +GroupName = str """The name of the Group.""" diff --git a/foundry/v2/admin/models/_group_search_filter_dict.py b/foundry/v2/admin/models/_group_search_filter_dict.py index 2ff7e2de..6ee0299d 100644 --- a/foundry/v2/admin/models/_group_search_filter_dict.py +++ b/foundry/v2/admin/models/_group_search_filter_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import TypedDict from foundry.v2.admin.models._principal_filter_type import PrincipalFilterType @@ -28,4 +27,4 @@ class GroupSearchFilterDict(TypedDict): type: PrincipalFilterType - value: pydantic.StrictStr + value: str diff --git a/foundry/v2/admin/models/_host_name.py b/foundry/v2/admin/models/_host_name.py index c110bbdc..a2f7029a 100644 --- a/foundry/v2/admin/models/_host_name.py +++ b/foundry/v2/admin/models/_host_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -HostName = pydantic.StrictStr +HostName = str """HostName""" diff --git a/foundry/v2/admin/models/_marking.py b/foundry/v2/admin/models/_marking.py index 75d03118..96b3e970 100644 --- a/foundry/v2/admin/models/_marking.py +++ b/foundry/v2/admin/models/_marking.py @@ -38,7 +38,7 @@ class Marking(pydantic.BaseModel): display_name: MarkingDisplayName = pydantic.Field(alias="displayName") - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None organization_rid: Optional[OrganizationRid] = pydantic.Field( alias="organizationRid", default=None diff --git a/foundry/v2/admin/models/_marking_category.py b/foundry/v2/admin/models/_marking_category.py index 25144d82..f646400d 100644 --- a/foundry/v2/admin/models/_marking_category.py +++ b/foundry/v2/admin/models/_marking_category.py @@ -40,7 +40,7 @@ class MarkingCategory(pydantic.BaseModel): display_name: MarkingCategoryDisplayName = pydantic.Field(alias="displayName") - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None category_type: MarkingCategoryType = pydantic.Field(alias="categoryType") diff --git a/foundry/v2/admin/models/_marking_category_dict.py b/foundry/v2/admin/models/_marking_category_dict.py index 1d6b9b10..a62ab1fc 100644 --- a/foundry/v2/admin/models/_marking_category_dict.py +++ b/foundry/v2/admin/models/_marking_category_dict.py @@ -17,7 +17,6 @@ from typing import List -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -41,7 +40,7 @@ class MarkingCategoryDict(TypedDict): displayName: MarkingCategoryDisplayName - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] categoryType: MarkingCategoryType diff --git a/foundry/v2/admin/models/_marking_category_display_name.py b/foundry/v2/admin/models/_marking_category_display_name.py index d87e0071..c18cc2fb 100644 --- a/foundry/v2/admin/models/_marking_category_display_name.py +++ b/foundry/v2/admin/models/_marking_category_display_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -MarkingCategoryDisplayName = pydantic.StrictStr +MarkingCategoryDisplayName = str """MarkingCategoryDisplayName""" diff --git a/foundry/v2/admin/models/_marking_category_id.py b/foundry/v2/admin/models/_marking_category_id.py index dec76299..ce1d5905 100644 --- a/foundry/v2/admin/models/_marking_category_id.py +++ b/foundry/v2/admin/models/_marking_category_id.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -MarkingCategoryId = pydantic.StrictStr +MarkingCategoryId = str """ The ID of a marking category. For user-created categories, this will be a UUID. Markings associated with Organizations are placed in a category with ID "Organization". diff --git a/foundry/v2/admin/models/_marking_dict.py b/foundry/v2/admin/models/_marking_dict.py index db388218..93331d10 100644 --- a/foundry/v2/admin/models/_marking_dict.py +++ b/foundry/v2/admin/models/_marking_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -38,7 +37,7 @@ class MarkingDict(TypedDict): displayName: MarkingDisplayName - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] organizationRid: NotRequired[OrganizationRid] """If this marking is associated with an Organization, its RID will be populated here.""" diff --git a/foundry/v2/admin/models/_marking_display_name.py b/foundry/v2/admin/models/_marking_display_name.py index 12dea255..1e4c10cc 100644 --- a/foundry/v2/admin/models/_marking_display_name.py +++ b/foundry/v2/admin/models/_marking_display_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -MarkingDisplayName = pydantic.StrictStr +MarkingDisplayName = str """MarkingDisplayName""" diff --git a/foundry/v2/admin/models/_user.py b/foundry/v2/admin/models/_user.py index f899d170..6290b872 100644 --- a/foundry/v2/admin/models/_user.py +++ b/foundry/v2/admin/models/_user.py @@ -39,15 +39,15 @@ class User(pydantic.BaseModel): """The Foundry username of the User. This is unique within the realm.""" - given_name: Optional[pydantic.StrictStr] = pydantic.Field(alias="givenName", default=None) + given_name: Optional[str] = pydantic.Field(alias="givenName", default=None) """The given name of the User.""" - family_name: Optional[pydantic.StrictStr] = pydantic.Field(alias="familyName", default=None) + family_name: Optional[str] = pydantic.Field(alias="familyName", default=None) """The family name (last name) of the User.""" - email: Optional[pydantic.StrictStr] = None + email: Optional[str] = None """The email at which to contact a User. Multiple users may have the same email address.""" diff --git a/foundry/v2/admin/models/_user_dict.py b/foundry/v2/admin/models/_user_dict.py index aa35175a..f3e165d4 100644 --- a/foundry/v2/admin/models/_user_dict.py +++ b/foundry/v2/admin/models/_user_dict.py @@ -17,7 +17,6 @@ from typing import Dict -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -39,13 +38,13 @@ class UserDict(TypedDict): username: UserUsername """The Foundry username of the User. This is unique within the realm.""" - givenName: NotRequired[pydantic.StrictStr] + givenName: NotRequired[str] """The given name of the User.""" - familyName: NotRequired[pydantic.StrictStr] + familyName: NotRequired[str] """The family name (last name) of the User.""" - email: NotRequired[pydantic.StrictStr] + email: NotRequired[str] """The email at which to contact a User. Multiple users may have the same email address.""" realm: Realm diff --git a/foundry/v2/admin/models/_user_search_filter_dict.py b/foundry/v2/admin/models/_user_search_filter_dict.py index c91247fd..7c39311b 100644 --- a/foundry/v2/admin/models/_user_search_filter_dict.py +++ b/foundry/v2/admin/models/_user_search_filter_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import TypedDict from foundry.v2.admin.models._principal_filter_type import PrincipalFilterType @@ -28,4 +27,4 @@ class UserSearchFilterDict(TypedDict): type: PrincipalFilterType - value: pydantic.StrictStr + value: str diff --git a/foundry/v2/admin/models/_user_username.py b/foundry/v2/admin/models/_user_username.py index 4006e19b..a4ebe0ce 100644 --- a/foundry/v2/admin/models/_user_username.py +++ b/foundry/v2/admin/models/_user_username.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -UserUsername = pydantic.StrictStr +UserUsername = str """The Foundry username of the User. This is unique within the realm.""" diff --git a/foundry/v2/aip_agents/errors/_agent_iterations_exceeded_limit.py b/foundry/v2/aip_agents/errors/_agent_iterations_exceeded_limit.py index 621c953f..52737e11 100644 --- a/foundry/v2/aip_agents/errors/_agent_iterations_exceeded_limit.py +++ b/foundry/v2/aip_agents/errors/_agent_iterations_exceeded_limit.py @@ -39,7 +39,7 @@ class AgentIterationsExceededLimitParameters(TypedDict): sessionRid: SessionRid - details: pydantic.StrictStr + details: str """Any additional details provided for the error.""" diff --git a/foundry/v2/aip_agents/errors/_context_size_exceeded_limit.py b/foundry/v2/aip_agents/errors/_context_size_exceeded_limit.py index a9a46e5e..2d36aa3d 100644 --- a/foundry/v2/aip_agents/errors/_context_size_exceeded_limit.py +++ b/foundry/v2/aip_agents/errors/_context_size_exceeded_limit.py @@ -38,7 +38,7 @@ class ContextSizeExceededLimitParameters(TypedDict): sessionRid: SessionRid - details: pydantic.StrictStr + details: str """Any additional details provided for the error.""" diff --git a/foundry/v2/aip_agents/errors/_function_locator_not_found.py b/foundry/v2/aip_agents/errors/_function_locator_not_found.py index 65cac435..bc05c714 100644 --- a/foundry/v2/aip_agents/errors/_function_locator_not_found.py +++ b/foundry/v2/aip_agents/errors/_function_locator_not_found.py @@ -43,7 +43,7 @@ class FunctionLocatorNotFoundParameters(TypedDict): functionRid: RID - functionVersion: pydantic.StrictStr + functionVersion: str @dataclass diff --git a/foundry/v2/aip_agents/errors/_invalid_parameter_type.py b/foundry/v2/aip_agents/errors/_invalid_parameter_type.py index b0b8525f..1ec97e1d 100644 --- a/foundry/v2/aip_agents/errors/_invalid_parameter_type.py +++ b/foundry/v2/aip_agents/errors/_invalid_parameter_type.py @@ -42,9 +42,9 @@ class InvalidParameterTypeParameters(TypedDict): parameter: ParameterId - expectedType: pydantic.StrictStr + expectedType: str - receivedType: pydantic.StrictStr + receivedType: str @dataclass diff --git a/foundry/v2/aip_agents/errors/_rate_limit_exceeded.py b/foundry/v2/aip_agents/errors/_rate_limit_exceeded.py index 8f6b3b3a..1338937b 100644 --- a/foundry/v2/aip_agents/errors/_rate_limit_exceeded.py +++ b/foundry/v2/aip_agents/errors/_rate_limit_exceeded.py @@ -35,7 +35,7 @@ class RateLimitExceededParameters(TypedDict): sessionRid: SessionRid - details: pydantic.StrictStr + details: str """Any additional details provided for the error.""" diff --git a/foundry/v2/aip_agents/errors/_session_execution_failed.py b/foundry/v2/aip_agents/errors/_session_execution_failed.py index 12e647d6..55bfaedd 100644 --- a/foundry/v2/aip_agents/errors/_session_execution_failed.py +++ b/foundry/v2/aip_agents/errors/_session_execution_failed.py @@ -35,10 +35,10 @@ class SessionExecutionFailedParameters(TypedDict): sessionRid: SessionRid - message: pydantic.StrictStr + message: str """The error message.""" - details: pydantic.StrictStr + details: str """Any additional details provided for the error.""" diff --git a/foundry/v2/aip_agents/models/_agent_markdown_response.py b/foundry/v2/aip_agents/models/_agent_markdown_response.py index 9abc4a0d..60e65b4b 100644 --- a/foundry/v2/aip_agents/models/_agent_markdown_response.py +++ b/foundry/v2/aip_agents/models/_agent_markdown_response.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -AgentMarkdownResponse = pydantic.StrictStr +AgentMarkdownResponse = str """The final answer for an exchange. Responses are formatted using markdown.""" diff --git a/foundry/v2/aip_agents/models/_agent_metadata.py b/foundry/v2/aip_agents/models/_agent_metadata.py index 51d44d90..29e2b583 100644 --- a/foundry/v2/aip_agents/models/_agent_metadata.py +++ b/foundry/v2/aip_agents/models/_agent_metadata.py @@ -27,21 +27,19 @@ class AgentMetadata(pydantic.BaseModel): """Metadata for an Agent.""" - display_name: pydantic.StrictStr = pydantic.Field(alias="displayName") + display_name: str = pydantic.Field(alias="displayName") """The name of the Agent.""" - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None """The description for the Agent.""" - input_placeholder: Optional[pydantic.StrictStr] = pydantic.Field( - alias="inputPlaceholder", default=None - ) + input_placeholder: Optional[str] = pydantic.Field(alias="inputPlaceholder", default=None) """The default text to show as the placeholder input for chats with the Agent.""" - suggested_prompts: List[pydantic.StrictStr] = pydantic.Field(alias="suggestedPrompts") + suggested_prompts: List[str] = pydantic.Field(alias="suggestedPrompts") """Prompts to show to the user as example messages to start a conversation with the Agent.""" diff --git a/foundry/v2/aip_agents/models/_agent_metadata_dict.py b/foundry/v2/aip_agents/models/_agent_metadata_dict.py index 0ce2f568..29063f78 100644 --- a/foundry/v2/aip_agents/models/_agent_metadata_dict.py +++ b/foundry/v2/aip_agents/models/_agent_metadata_dict.py @@ -17,7 +17,6 @@ from typing import List -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -27,14 +26,14 @@ class AgentMetadataDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - displayName: pydantic.StrictStr + displayName: str """The name of the Agent.""" - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] """The description for the Agent.""" - inputPlaceholder: NotRequired[pydantic.StrictStr] + inputPlaceholder: NotRequired[str] """The default text to show as the placeholder input for chats with the Agent.""" - suggestedPrompts: List[pydantic.StrictStr] + suggestedPrompts: List[str] """Prompts to show to the user as example messages to start a conversation with the Agent.""" diff --git a/foundry/v2/aip_agents/models/_agent_version_details.py b/foundry/v2/aip_agents/models/_agent_version_details.py index 66fd7350..07d92511 100644 --- a/foundry/v2/aip_agents/models/_agent_version_details.py +++ b/foundry/v2/aip_agents/models/_agent_version_details.py @@ -25,11 +25,11 @@ class AgentVersionDetails(pydantic.BaseModel): """Semantic version details for an Agent.""" - major: pydantic.StrictInt + major: int """The major version of the Agent. Incremented every time the Agent is published.""" - minor: pydantic.StrictInt + minor: int """The minor version of the Agent. Incremented every time the Agent is saved.""" diff --git a/foundry/v2/aip_agents/models/_agent_version_details_dict.py b/foundry/v2/aip_agents/models/_agent_version_details_dict.py index bc849c8d..55bee3f2 100644 --- a/foundry/v2/aip_agents/models/_agent_version_details_dict.py +++ b/foundry/v2/aip_agents/models/_agent_version_details_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import TypedDict @@ -24,8 +23,8 @@ class AgentVersionDetailsDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - major: pydantic.StrictInt + major: int """The major version of the Agent. Incremented every time the Agent is published.""" - minor: pydantic.StrictInt + minor: int """The minor version of the Agent. Incremented every time the Agent is saved.""" diff --git a/foundry/v2/aip_agents/models/_agent_version_string.py b/foundry/v2/aip_agents/models/_agent_version_string.py index c9207dae..4749c10a 100644 --- a/foundry/v2/aip_agents/models/_agent_version_string.py +++ b/foundry/v2/aip_agents/models/_agent_version_string.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -AgentVersionString = pydantic.StrictStr +AgentVersionString = str """The semantic version of the Agent, formatted as "majorVersion.minorVersion".""" diff --git a/foundry/v2/aip_agents/models/_parameter.py b/foundry/v2/aip_agents/models/_parameter.py index 5909dc15..e2237feb 100644 --- a/foundry/v2/aip_agents/models/_parameter.py +++ b/foundry/v2/aip_agents/models/_parameter.py @@ -36,7 +36,7 @@ class Parameter(pydantic.BaseModel): """The access mode controls how the Agent is able to interact with the parameter.""" - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None """ A description to explain the use of this parameter. diff --git a/foundry/v2/aip_agents/models/_parameter_dict.py b/foundry/v2/aip_agents/models/_parameter_dict.py index 29d8c293..ecad906c 100644 --- a/foundry/v2/aip_agents/models/_parameter_dict.py +++ b/foundry/v2/aip_agents/models/_parameter_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -34,7 +33,7 @@ class ParameterDict(TypedDict): access: ParameterAccessMode """The access mode controls how the Agent is able to interact with the parameter.""" - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] """ A description to explain the use of this parameter. This description is injected with the parameter value into the Agent's prompt, to provide context for when to use the parameter. diff --git a/foundry/v2/aip_agents/models/_parameter_id.py b/foundry/v2/aip_agents/models/_parameter_id.py index a03f4c48..46bf9777 100644 --- a/foundry/v2/aip_agents/models/_parameter_id.py +++ b/foundry/v2/aip_agents/models/_parameter_id.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -ParameterId = pydantic.StrictStr +ParameterId = str """The unique identifier for a parameter, as configured in [AIP Agent Studio](/docs/foundry/agent-studio/overview/).""" diff --git a/foundry/v2/aip_agents/models/_session_exchange_result.py b/foundry/v2/aip_agents/models/_session_exchange_result.py index 612479d0..ff431cb3 100644 --- a/foundry/v2/aip_agents/models/_session_exchange_result.py +++ b/foundry/v2/aip_agents/models/_session_exchange_result.py @@ -45,13 +45,11 @@ class SessionExchangeResult(pydantic.BaseModel): Updates can only be generated for parameter values that were provided as input to the Agent and that are configured with `READ_WRITE` access on the Agent in AIP Agent Studio. """ - total_tokens_used: Optional[pydantic.StrictInt] = pydantic.Field( - alias="totalTokensUsed", default=None - ) + total_tokens_used: Optional[int] = pydantic.Field(alias="totalTokensUsed", default=None) """Total tokens used to compute the result. Omitted if token usage information is not supported by the model used for the session.""" - interrupted_output: pydantic.StrictBool = pydantic.Field(alias="interruptedOutput") + interrupted_output: bool = pydantic.Field(alias="interruptedOutput") """ True if the exchange was canceled. diff --git a/foundry/v2/aip_agents/models/_session_exchange_result_dict.py b/foundry/v2/aip_agents/models/_session_exchange_result_dict.py index 24891cb7..1a5b8c26 100644 --- a/foundry/v2/aip_agents/models/_session_exchange_result_dict.py +++ b/foundry/v2/aip_agents/models/_session_exchange_result_dict.py @@ -17,7 +17,6 @@ from typing import Dict -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -42,10 +41,10 @@ class SessionExchangeResultDict(TypedDict): Updates can only be generated for parameter values that were provided as input to the Agent and that are configured with `READ_WRITE` access on the Agent in AIP Agent Studio. """ - totalTokensUsed: NotRequired[pydantic.StrictInt] + totalTokensUsed: NotRequired[int] """Total tokens used to compute the result. Omitted if token usage information is not supported by the model used for the session.""" - interruptedOutput: pydantic.StrictBool + interruptedOutput: bool """ True if the exchange was canceled. In that case, the response (if any) was provided by the client as part of the cancellation request rather than by the Agent. diff --git a/foundry/v2/aip_agents/models/_session_metadata.py b/foundry/v2/aip_agents/models/_session_metadata.py index 6cc3fd37..55e2248c 100644 --- a/foundry/v2/aip_agents/models/_session_metadata.py +++ b/foundry/v2/aip_agents/models/_session_metadata.py @@ -26,7 +26,7 @@ class SessionMetadata(pydantic.BaseModel): """Metadata for a conversation session with an Agent.""" - title: pydantic.StrictStr + title: str """The title of the session.""" @@ -38,7 +38,7 @@ class SessionMetadata(pydantic.BaseModel): """The time the session was last updated.""" - message_count: pydantic.StrictInt = pydantic.Field(alias="messageCount") + message_count: int = pydantic.Field(alias="messageCount") """ The count of messages in the session. diff --git a/foundry/v2/aip_agents/models/_session_metadata_dict.py b/foundry/v2/aip_agents/models/_session_metadata_dict.py index 0ed848b4..1ed16a23 100644 --- a/foundry/v2/aip_agents/models/_session_metadata_dict.py +++ b/foundry/v2/aip_agents/models/_session_metadata_dict.py @@ -17,7 +17,6 @@ from datetime import datetime -import pydantic from typing_extensions import TypedDict @@ -26,7 +25,7 @@ class SessionMetadataDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - title: pydantic.StrictStr + title: str """The title of the session.""" createdTime: datetime @@ -35,7 +34,7 @@ class SessionMetadataDict(TypedDict): updatedTime: datetime """The time the session was last updated.""" - messageCount: pydantic.StrictInt + messageCount: int """ The count of messages in the session. Includes both user messages and Agent replies, so each complete exchange counts as two messages. diff --git a/foundry/v2/aip_agents/models/_string_parameter.py b/foundry/v2/aip_agents/models/_string_parameter.py index 96d1ea37..63df2d30 100644 --- a/foundry/v2/aip_agents/models/_string_parameter.py +++ b/foundry/v2/aip_agents/models/_string_parameter.py @@ -27,7 +27,7 @@ class StringParameter(pydantic.BaseModel): """StringParameter""" - default_value: Optional[pydantic.StrictStr] = pydantic.Field(alias="defaultValue", default=None) + default_value: Optional[str] = pydantic.Field(alias="defaultValue", default=None) """The default value to use for this parameter.""" diff --git a/foundry/v2/aip_agents/models/_string_parameter_dict.py b/foundry/v2/aip_agents/models/_string_parameter_dict.py index 3f662717..6d00f88f 100644 --- a/foundry/v2/aip_agents/models/_string_parameter_dict.py +++ b/foundry/v2/aip_agents/models/_string_parameter_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -27,7 +26,7 @@ class StringParameterDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - defaultValue: NotRequired[pydantic.StrictStr] + defaultValue: NotRequired[str] """The default value to use for this parameter.""" type: Literal["string"] diff --git a/foundry/v2/aip_agents/models/_string_parameter_value.py b/foundry/v2/aip_agents/models/_string_parameter_value.py index 492a69fe..999581eb 100644 --- a/foundry/v2/aip_agents/models/_string_parameter_value.py +++ b/foundry/v2/aip_agents/models/_string_parameter_value.py @@ -28,7 +28,7 @@ class StringParameterValue(pydantic.BaseModel): """A value passed for `StringParameter` parameter types.""" - value: pydantic.StrictStr + value: str type: Literal["string"] = "string" diff --git a/foundry/v2/aip_agents/models/_string_parameter_value_dict.py b/foundry/v2/aip_agents/models/_string_parameter_value_dict.py index c5310bdd..fbd69c58 100644 --- a/foundry/v2/aip_agents/models/_string_parameter_value_dict.py +++ b/foundry/v2/aip_agents/models/_string_parameter_value_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,6 +25,6 @@ class StringParameterValueDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - value: pydantic.StrictStr + value: str type: Literal["string"] diff --git a/foundry/v2/aip_agents/models/_user_text_input.py b/foundry/v2/aip_agents/models/_user_text_input.py index 47c9972a..c7b9bcfc 100644 --- a/foundry/v2/aip_agents/models/_user_text_input.py +++ b/foundry/v2/aip_agents/models/_user_text_input.py @@ -25,7 +25,7 @@ class UserTextInput(pydantic.BaseModel): """UserTextInput""" - text: pydantic.StrictStr + text: str """The user message text.""" diff --git a/foundry/v2/aip_agents/models/_user_text_input_dict.py b/foundry/v2/aip_agents/models/_user_text_input_dict.py index 4725b9ca..6c875d92 100644 --- a/foundry/v2/aip_agents/models/_user_text_input_dict.py +++ b/foundry/v2/aip_agents/models/_user_text_input_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import TypedDict @@ -24,5 +23,5 @@ class UserTextInputDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - text: pydantic.StrictStr + text: str """The user message text.""" diff --git a/foundry/v2/cli.py b/foundry/v2/cli.py index 44641c82..1cec87ca 100644 --- a/foundry/v2/cli.py +++ b/foundry/v2/cli.py @@ -4642,14 +4642,14 @@ def ontologies_v2_attachment_read( @ontologies_v2_attachment.command("upload") @click.argument("body", type=click.File("rb"), required=True) -@click.option("--content_length", type=str, required=True, help="""Content-Length""") +@click.option("--content_length", type=int, required=True, help="""Content-Length""") @click.option("--content_type", type=str, required=True, help="""Content-Type""") @click.option("--filename", type=str, required=True, help="""filename""") @click.pass_obj def ontologies_v2_attachment_upload( client: foundry.v2.FoundryClient, body: io.BufferedReader, - content_length: str, + content_length: int, content_type: str, filename: str, ): diff --git a/foundry/v2/connectivity/errors/_connection_details_not_determined.py b/foundry/v2/connectivity/errors/_connection_details_not_determined.py index 958f3683..22deb98d 100644 --- a/foundry/v2/connectivity/errors/_connection_details_not_determined.py +++ b/foundry/v2/connectivity/errors/_connection_details_not_determined.py @@ -32,7 +32,7 @@ class ConnectionDetailsNotDeterminedParameters(TypedDict): connectionRid: ConnectionRid - connectionType: pydantic.StrictStr + connectionType: str @dataclass diff --git a/foundry/v2/connectivity/errors/_connection_type_not_supported.py b/foundry/v2/connectivity/errors/_connection_type_not_supported.py index 306297ca..0793972e 100644 --- a/foundry/v2/connectivity/errors/_connection_type_not_supported.py +++ b/foundry/v2/connectivity/errors/_connection_type_not_supported.py @@ -29,7 +29,7 @@ class ConnectionTypeNotSupportedParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - connectionType: pydantic.StrictStr + connectionType: str @dataclass diff --git a/foundry/v2/connectivity/errors/_file_at_least_count_filter_invalid_min_count.py b/foundry/v2/connectivity/errors/_file_at_least_count_filter_invalid_min_count.py index 938fc441..bc416e6e 100644 --- a/foundry/v2/connectivity/errors/_file_at_least_count_filter_invalid_min_count.py +++ b/foundry/v2/connectivity/errors/_file_at_least_count_filter_invalid_min_count.py @@ -29,7 +29,7 @@ class FileAtLeastCountFilterInvalidMinCountParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - minFilesCount: pydantic.StrictInt + minFilesCount: int @dataclass diff --git a/foundry/v2/connectivity/errors/_files_count_limit_filter_invalid_limit.py b/foundry/v2/connectivity/errors/_files_count_limit_filter_invalid_limit.py index 10968e71..d064da09 100644 --- a/foundry/v2/connectivity/errors/_files_count_limit_filter_invalid_limit.py +++ b/foundry/v2/connectivity/errors/_files_count_limit_filter_invalid_limit.py @@ -29,7 +29,7 @@ class FilesCountLimitFilterInvalidLimitParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - filesCount: pydantic.StrictInt + filesCount: int @dataclass diff --git a/foundry/v2/connectivity/errors/_table_import_not_supported_for_connection.py b/foundry/v2/connectivity/errors/_table_import_not_supported_for_connection.py index d4fa8820..17dc6845 100644 --- a/foundry/v2/connectivity/errors/_table_import_not_supported_for_connection.py +++ b/foundry/v2/connectivity/errors/_table_import_not_supported_for_connection.py @@ -32,7 +32,7 @@ class TableImportNotSupportedForConnectionParameters(TypedDict): connectionRid: ConnectionRid - tableImportType: pydantic.StrictStr + tableImportType: str @dataclass diff --git a/foundry/v2/connectivity/errors/_table_import_type_not_supported.py b/foundry/v2/connectivity/errors/_table_import_type_not_supported.py index efb60c5d..7b8265e6 100644 --- a/foundry/v2/connectivity/errors/_table_import_type_not_supported.py +++ b/foundry/v2/connectivity/errors/_table_import_type_not_supported.py @@ -29,7 +29,7 @@ class TableImportTypeNotSupportedParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - tableImportType: pydantic.StrictStr + tableImportType: str @dataclass diff --git a/foundry/v2/connectivity/file_import.py b/foundry/v2/connectivity/file_import.py index 3f632070..57c29e48 100644 --- a/foundry/v2/connectivity/file_import.py +++ b/foundry/v2/connectivity/file_import.py @@ -65,7 +65,7 @@ def create( import_mode: FileImportMode, branch_name: Optional[BranchName] = None, preview: Optional[PreviewMode] = None, - subfolder: Optional[pydantic.StrictStr] = None, + subfolder: Optional[str] = None, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, ) -> FileImport: """ @@ -85,7 +85,7 @@ def create( :param preview: preview :type preview: Optional[PreviewMode] :param subfolder: A subfolder in the external system that will be imported. If not specified, defaults to the root folder of the external system. - :type subfolder: Optional[pydantic.StrictStr] + :type subfolder: Optional[str] :param request_timeout: timeout setting for this request in seconds. :type request_timeout: Optional[int] :return: Returns the result object. @@ -121,7 +121,7 @@ def create( "importMode": FileImportMode, "displayName": FileImportDisplayName, "branchName": Optional[BranchName], - "subfolder": Optional[pydantic.StrictStr], + "subfolder": Optional[str], "fileImportFilters": List[FileImportFilterDict], }, ), @@ -394,7 +394,7 @@ def replace( import_mode: FileImportMode, branch_name: Optional[BranchName] = None, preview: Optional[PreviewMode] = None, - subfolder: Optional[pydantic.StrictStr] = None, + subfolder: Optional[str] = None, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, ) -> FileImport: """ @@ -416,7 +416,7 @@ def replace( :param preview: preview :type preview: Optional[PreviewMode] :param subfolder: A subfolder in the external system that will be imported. If not specified, defaults to the root folder of the external system. - :type subfolder: Optional[pydantic.StrictStr] + :type subfolder: Optional[str] :param request_timeout: timeout setting for this request in seconds. :type request_timeout: Optional[int] :return: Returns the result object. @@ -453,7 +453,7 @@ def replace( "importMode": FileImportMode, "displayName": FileImportDisplayName, "branchName": Optional[BranchName], - "subfolder": Optional[pydantic.StrictStr], + "subfolder": Optional[str], "fileImportFilters": List[FileImportFilterDict], }, ), diff --git a/foundry/v2/connectivity/models/_aws_access_key.py b/foundry/v2/connectivity/models/_aws_access_key.py index d8b347f5..72c316f5 100644 --- a/foundry/v2/connectivity/models/_aws_access_key.py +++ b/foundry/v2/connectivity/models/_aws_access_key.py @@ -33,7 +33,7 @@ class AwsAccessKey(pydantic.BaseModel): secret access key together to authenticate your requests. """ - access_key_id: pydantic.StrictStr = pydantic.Field(alias="accessKeyId") + access_key_id: str = pydantic.Field(alias="accessKeyId") secret_access_key: EncryptedProperty = pydantic.Field(alias="secretAccessKey") diff --git a/foundry/v2/connectivity/models/_aws_access_key_dict.py b/foundry/v2/connectivity/models/_aws_access_key_dict.py index 60f31e81..1e8f5906 100644 --- a/foundry/v2/connectivity/models/_aws_access_key_dict.py +++ b/foundry/v2/connectivity/models/_aws_access_key_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict from foundry.v2.connectivity.models._encrypted_property_dict import EncryptedPropertyDict # NOQA @@ -34,7 +33,7 @@ class AwsAccessKeyDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - accessKeyId: pydantic.StrictStr + accessKeyId: str secretAccessKey: EncryptedPropertyDict diff --git a/foundry/v2/connectivity/models/_connection_display_name.py b/foundry/v2/connectivity/models/_connection_display_name.py index 9e013352..a89b1141 100644 --- a/foundry/v2/connectivity/models/_connection_display_name.py +++ b/foundry/v2/connectivity/models/_connection_display_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -ConnectionDisplayName = pydantic.StrictStr +ConnectionDisplayName = str """ConnectionDisplayName""" diff --git a/foundry/v2/connectivity/models/_create_connection_request_s3_connection_configuration_dict.py b/foundry/v2/connectivity/models/_create_connection_request_s3_connection_configuration_dict.py index c5ae6afd..f386b52f 100644 --- a/foundry/v2/connectivity/models/_create_connection_request_s3_connection_configuration_dict.py +++ b/foundry/v2/connectivity/models/_create_connection_request_s3_connection_configuration_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -31,7 +30,7 @@ class CreateConnectionRequestS3ConnectionConfigurationDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - bucketUrl: pydantic.StrictStr + bucketUrl: str """The URL of the S3 bucket. The URL should contain a trailing slash.""" authenticationMode: NotRequired[S3AuthenticationModeDict] diff --git a/foundry/v2/connectivity/models/_create_table_import_request_jdbc_import_config_dict.py b/foundry/v2/connectivity/models/_create_table_import_request_jdbc_import_config_dict.py index e1faa3a1..feee4cc4 100644 --- a/foundry/v2/connectivity/models/_create_table_import_request_jdbc_import_config_dict.py +++ b/foundry/v2/connectivity/models/_create_table_import_request_jdbc_import_config_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,7 +25,7 @@ class CreateTableImportRequestJdbcImportConfigDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - query: pydantic.StrictStr + query: str """ A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. diff --git a/foundry/v2/connectivity/models/_create_table_import_request_microsoft_access_import_config_dict.py b/foundry/v2/connectivity/models/_create_table_import_request_microsoft_access_import_config_dict.py index 3d4056f1..8bdc1b50 100644 --- a/foundry/v2/connectivity/models/_create_table_import_request_microsoft_access_import_config_dict.py +++ b/foundry/v2/connectivity/models/_create_table_import_request_microsoft_access_import_config_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,7 +25,7 @@ class CreateTableImportRequestMicrosoftAccessImportConfigDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - query: pydantic.StrictStr + query: str """ A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. diff --git a/foundry/v2/connectivity/models/_create_table_import_request_microsoft_sql_server_import_config_dict.py b/foundry/v2/connectivity/models/_create_table_import_request_microsoft_sql_server_import_config_dict.py index f5e991f0..8c4b0a37 100644 --- a/foundry/v2/connectivity/models/_create_table_import_request_microsoft_sql_server_import_config_dict.py +++ b/foundry/v2/connectivity/models/_create_table_import_request_microsoft_sql_server_import_config_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,7 +25,7 @@ class CreateTableImportRequestMicrosoftSqlServerImportConfigDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - query: pydantic.StrictStr + query: str """ A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. diff --git a/foundry/v2/connectivity/models/_create_table_import_request_oracle_import_config_dict.py b/foundry/v2/connectivity/models/_create_table_import_request_oracle_import_config_dict.py index ed1114e9..79992cd1 100644 --- a/foundry/v2/connectivity/models/_create_table_import_request_oracle_import_config_dict.py +++ b/foundry/v2/connectivity/models/_create_table_import_request_oracle_import_config_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,7 +25,7 @@ class CreateTableImportRequestOracleImportConfigDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - query: pydantic.StrictStr + query: str """ A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. diff --git a/foundry/v2/connectivity/models/_create_table_import_request_postgre_sql_import_config_dict.py b/foundry/v2/connectivity/models/_create_table_import_request_postgre_sql_import_config_dict.py index d9f5db2c..39501c46 100644 --- a/foundry/v2/connectivity/models/_create_table_import_request_postgre_sql_import_config_dict.py +++ b/foundry/v2/connectivity/models/_create_table_import_request_postgre_sql_import_config_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,7 +25,7 @@ class CreateTableImportRequestPostgreSqlImportConfigDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - query: pydantic.StrictStr + query: str """ A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. diff --git a/foundry/v2/connectivity/models/_file_any_path_matches_filter.py b/foundry/v2/connectivity/models/_file_any_path_matches_filter.py index f9101366..91a1ec32 100644 --- a/foundry/v2/connectivity/models/_file_any_path_matches_filter.py +++ b/foundry/v2/connectivity/models/_file_any_path_matches_filter.py @@ -28,7 +28,7 @@ class FileAnyPathMatchesFilter(pydantic.BaseModel): """If any file has a relative path matching the regular expression, sync all files in the subfolder that are not otherwise filtered.""" - regex: pydantic.StrictStr + regex: str """The regular expression for the relative path to match against.""" diff --git a/foundry/v2/connectivity/models/_file_any_path_matches_filter_dict.py b/foundry/v2/connectivity/models/_file_any_path_matches_filter_dict.py index 5e7c390c..da3e0a10 100644 --- a/foundry/v2/connectivity/models/_file_any_path_matches_filter_dict.py +++ b/foundry/v2/connectivity/models/_file_any_path_matches_filter_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,7 +25,7 @@ class FileAnyPathMatchesFilterDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - regex: pydantic.StrictStr + regex: str """The regular expression for the relative path to match against.""" type: Literal["anyPathMatchesFilter"] diff --git a/foundry/v2/connectivity/models/_file_at_least_count_filter.py b/foundry/v2/connectivity/models/_file_at_least_count_filter.py index cf439485..c4b70245 100644 --- a/foundry/v2/connectivity/models/_file_at_least_count_filter.py +++ b/foundry/v2/connectivity/models/_file_at_least_count_filter.py @@ -28,7 +28,7 @@ class FileAtLeastCountFilter(pydantic.BaseModel): """Import all filtered files only if there are at least the specified number of files remaining.""" - min_files_count: pydantic.StrictInt = pydantic.Field(alias="minFilesCount") + min_files_count: int = pydantic.Field(alias="minFilesCount") """ The minimum number of files remaining expected. diff --git a/foundry/v2/connectivity/models/_file_at_least_count_filter_dict.py b/foundry/v2/connectivity/models/_file_at_least_count_filter_dict.py index 0ad34f4a..7fb5e5fe 100644 --- a/foundry/v2/connectivity/models/_file_at_least_count_filter_dict.py +++ b/foundry/v2/connectivity/models/_file_at_least_count_filter_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,7 +25,7 @@ class FileAtLeastCountFilterDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - minFilesCount: pydantic.StrictInt + minFilesCount: int """ The minimum number of files remaining expected. The value specified must be greater than 0. diff --git a/foundry/v2/connectivity/models/_file_import.py b/foundry/v2/connectivity/models/_file_import.py index edc084fd..7b260e52 100644 --- a/foundry/v2/connectivity/models/_file_import.py +++ b/foundry/v2/connectivity/models/_file_import.py @@ -56,7 +56,7 @@ class FileImport(pydantic.BaseModel): import_mode: FileImportMode = pydantic.Field(alias="importMode") - subfolder: Optional[pydantic.StrictStr] = None + subfolder: Optional[str] = None """A subfolder in the external system that will be imported. If not specified, defaults to the root folder of the external system.""" diff --git a/foundry/v2/connectivity/models/_file_import_dict.py b/foundry/v2/connectivity/models/_file_import_dict.py index 7d993dbf..5a9a1c58 100644 --- a/foundry/v2/connectivity/models/_file_import_dict.py +++ b/foundry/v2/connectivity/models/_file_import_dict.py @@ -17,7 +17,6 @@ from typing import List -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -53,5 +52,5 @@ class FileImportDict(TypedDict): importMode: FileImportMode - subfolder: NotRequired[pydantic.StrictStr] + subfolder: NotRequired[str] """A subfolder in the external system that will be imported. If not specified, defaults to the root folder of the external system.""" diff --git a/foundry/v2/connectivity/models/_file_import_display_name.py b/foundry/v2/connectivity/models/_file_import_display_name.py index 625484c7..5807829d 100644 --- a/foundry/v2/connectivity/models/_file_import_display_name.py +++ b/foundry/v2/connectivity/models/_file_import_display_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -FileImportDisplayName = pydantic.StrictStr +FileImportDisplayName = str """FileImportDisplayName""" diff --git a/foundry/v2/connectivity/models/_file_path_matches_filter.py b/foundry/v2/connectivity/models/_file_path_matches_filter.py index d28cf178..1b9f3c82 100644 --- a/foundry/v2/connectivity/models/_file_path_matches_filter.py +++ b/foundry/v2/connectivity/models/_file_path_matches_filter.py @@ -39,7 +39,7 @@ class FilePathMatchesFilter(pydantic.BaseModel): With the `relative/subfolder/include-.*.txt` regex, only `relative/subfolder/include-file.txt` will be imported. """ - regex: pydantic.StrictStr + regex: str """Must be written to match the paths relative to the root of the source, even if a subfolder is specified.""" diff --git a/foundry/v2/connectivity/models/_file_path_matches_filter_dict.py b/foundry/v2/connectivity/models/_file_path_matches_filter_dict.py index c69d4bb5..8a5964b5 100644 --- a/foundry/v2/connectivity/models/_file_path_matches_filter_dict.py +++ b/foundry/v2/connectivity/models/_file_path_matches_filter_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -37,7 +36,7 @@ class FilePathMatchesFilterDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - regex: pydantic.StrictStr + regex: str """Must be written to match the paths relative to the root of the source, even if a subfolder is specified.""" type: Literal["pathMatchesFilter"] diff --git a/foundry/v2/connectivity/models/_file_path_not_matches_filter.py b/foundry/v2/connectivity/models/_file_path_not_matches_filter.py index 649d4539..05cc54a8 100644 --- a/foundry/v2/connectivity/models/_file_path_not_matches_filter.py +++ b/foundry/v2/connectivity/models/_file_path_not_matches_filter.py @@ -40,7 +40,7 @@ class FilePathNotMatchesFilter(pydantic.BaseModel): and `relative/subfolder/exclude-file.txt` will be excluded from the import. """ - regex: pydantic.StrictStr + regex: str """Must be written to match the paths relative to the root of the source, even if a subfolder is specified.""" diff --git a/foundry/v2/connectivity/models/_file_path_not_matches_filter_dict.py b/foundry/v2/connectivity/models/_file_path_not_matches_filter_dict.py index 792dbdcd..a76f1d60 100644 --- a/foundry/v2/connectivity/models/_file_path_not_matches_filter_dict.py +++ b/foundry/v2/connectivity/models/_file_path_not_matches_filter_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -38,7 +37,7 @@ class FilePathNotMatchesFilterDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - regex: pydantic.StrictStr + regex: str """Must be written to match the paths relative to the root of the source, even if a subfolder is specified.""" type: Literal["pathNotMatchesFilter"] diff --git a/foundry/v2/connectivity/models/_files_count_limit_filter.py b/foundry/v2/connectivity/models/_files_count_limit_filter.py index bfa6aeba..13a189b2 100644 --- a/foundry/v2/connectivity/models/_files_count_limit_filter.py +++ b/foundry/v2/connectivity/models/_files_count_limit_filter.py @@ -32,7 +32,7 @@ class FilesCountLimitFilter(pydantic.BaseModel): This option can increase the reliability of incremental syncs. """ - files_count: pydantic.StrictInt = pydantic.Field(alias="filesCount") + files_count: int = pydantic.Field(alias="filesCount") """The number of files to import in the transaction. The value specified must be positive.""" diff --git a/foundry/v2/connectivity/models/_files_count_limit_filter_dict.py b/foundry/v2/connectivity/models/_files_count_limit_filter_dict.py index a803f44c..2f0b76c8 100644 --- a/foundry/v2/connectivity/models/_files_count_limit_filter_dict.py +++ b/foundry/v2/connectivity/models/_files_count_limit_filter_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -30,7 +29,7 @@ class FilesCountLimitFilterDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - filesCount: pydantic.StrictInt + filesCount: int """The number of files to import in the transaction. The value specified must be positive.""" type: Literal["filesCountLimitFilter"] diff --git a/foundry/v2/connectivity/models/_jdbc_import_config.py b/foundry/v2/connectivity/models/_jdbc_import_config.py index 4f92c1a4..7f7b4afb 100644 --- a/foundry/v2/connectivity/models/_jdbc_import_config.py +++ b/foundry/v2/connectivity/models/_jdbc_import_config.py @@ -26,7 +26,7 @@ class JdbcImportConfig(pydantic.BaseModel): """The import configuration for a [custom JDBC connection](docs/foundry/available-connectors/custom-jdbc-sources).""" - query: pydantic.StrictStr + query: str """ A single SQL query can be executed per sync, which should output a data table diff --git a/foundry/v2/connectivity/models/_jdbc_import_config_dict.py b/foundry/v2/connectivity/models/_jdbc_import_config_dict.py index 8c6b8f88..e925c4a1 100644 --- a/foundry/v2/connectivity/models/_jdbc_import_config_dict.py +++ b/foundry/v2/connectivity/models/_jdbc_import_config_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,7 +25,7 @@ class JdbcImportConfigDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - query: pydantic.StrictStr + query: str """ A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. diff --git a/foundry/v2/connectivity/models/_microsoft_access_import_config.py b/foundry/v2/connectivity/models/_microsoft_access_import_config.py index dcb25e57..f6487a08 100644 --- a/foundry/v2/connectivity/models/_microsoft_access_import_config.py +++ b/foundry/v2/connectivity/models/_microsoft_access_import_config.py @@ -28,7 +28,7 @@ class MicrosoftAccessImportConfig(pydantic.BaseModel): """The import configuration for a [Microsoft Access connection](docs/foundry/available-connectors/microsoft-access).""" - query: pydantic.StrictStr + query: str """ A single SQL query can be executed per sync, which should output a data table diff --git a/foundry/v2/connectivity/models/_microsoft_access_import_config_dict.py b/foundry/v2/connectivity/models/_microsoft_access_import_config_dict.py index a4c614af..13d3935a 100644 --- a/foundry/v2/connectivity/models/_microsoft_access_import_config_dict.py +++ b/foundry/v2/connectivity/models/_microsoft_access_import_config_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,7 +25,7 @@ class MicrosoftAccessImportConfigDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - query: pydantic.StrictStr + query: str """ A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. diff --git a/foundry/v2/connectivity/models/_microsoft_sql_server_import_config.py b/foundry/v2/connectivity/models/_microsoft_sql_server_import_config.py index ec5082c4..c7256f74 100644 --- a/foundry/v2/connectivity/models/_microsoft_sql_server_import_config.py +++ b/foundry/v2/connectivity/models/_microsoft_sql_server_import_config.py @@ -28,7 +28,7 @@ class MicrosoftSqlServerImportConfig(pydantic.BaseModel): """The import configuration for a [Microsoft SQL Server connection](docs/foundry/available-connectors/microsoft-sql-server).""" - query: pydantic.StrictStr + query: str """ A single SQL query can be executed per sync, which should output a data table diff --git a/foundry/v2/connectivity/models/_microsoft_sql_server_import_config_dict.py b/foundry/v2/connectivity/models/_microsoft_sql_server_import_config_dict.py index f335e490..e29dd4d7 100644 --- a/foundry/v2/connectivity/models/_microsoft_sql_server_import_config_dict.py +++ b/foundry/v2/connectivity/models/_microsoft_sql_server_import_config_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,7 +25,7 @@ class MicrosoftSqlServerImportConfigDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - query: pydantic.StrictStr + query: str """ A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. diff --git a/foundry/v2/connectivity/models/_oidc.py b/foundry/v2/connectivity/models/_oidc.py index 5a625228..133eedca 100644 --- a/foundry/v2/connectivity/models/_oidc.py +++ b/foundry/v2/connectivity/models/_oidc.py @@ -30,11 +30,11 @@ class Oidc(pydantic.BaseModel): you to authenticate to external system resources without the use of static credentials. """ - audience: pydantic.StrictStr + audience: str """The configured audience that identifies the external system.""" - issuer_url: pydantic.StrictStr = pydantic.Field(alias="issuerUrl") + issuer_url: str = pydantic.Field(alias="issuerUrl") """The URL that identifies Foundry as an OIDC identity provider.""" diff --git a/foundry/v2/connectivity/models/_oidc_dict.py b/foundry/v2/connectivity/models/_oidc_dict.py index aede58f2..39283c10 100644 --- a/foundry/v2/connectivity/models/_oidc_dict.py +++ b/foundry/v2/connectivity/models/_oidc_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict from foundry.v2.connectivity.models._connection_rid import ConnectionRid @@ -31,10 +30,10 @@ class OidcDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - audience: pydantic.StrictStr + audience: str """The configured audience that identifies the external system.""" - issuerUrl: pydantic.StrictStr + issuerUrl: str """The URL that identifies Foundry as an OIDC identity provider.""" subject: ConnectionRid diff --git a/foundry/v2/connectivity/models/_oracle_import_config.py b/foundry/v2/connectivity/models/_oracle_import_config.py index 758f4179..00bf7c16 100644 --- a/foundry/v2/connectivity/models/_oracle_import_config.py +++ b/foundry/v2/connectivity/models/_oracle_import_config.py @@ -26,7 +26,7 @@ class OracleImportConfig(pydantic.BaseModel): """The import configuration for an Oracle Database 21 connection.""" - query: pydantic.StrictStr + query: str """ A single SQL query can be executed per sync, which should output a data table diff --git a/foundry/v2/connectivity/models/_oracle_import_config_dict.py b/foundry/v2/connectivity/models/_oracle_import_config_dict.py index 171ded6a..bc4890aa 100644 --- a/foundry/v2/connectivity/models/_oracle_import_config_dict.py +++ b/foundry/v2/connectivity/models/_oracle_import_config_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,7 +25,7 @@ class OracleImportConfigDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - query: pydantic.StrictStr + query: str """ A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. diff --git a/foundry/v2/connectivity/models/_plaintext_value.py b/foundry/v2/connectivity/models/_plaintext_value.py index 32b68e23..83e78f17 100644 --- a/foundry/v2/connectivity/models/_plaintext_value.py +++ b/foundry/v2/connectivity/models/_plaintext_value.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -PlaintextValue = pydantic.StrictStr +PlaintextValue = str """PlaintextValue""" diff --git a/foundry/v2/connectivity/models/_postgre_sql_import_config.py b/foundry/v2/connectivity/models/_postgre_sql_import_config.py index 59e8d4bb..66aba06e 100644 --- a/foundry/v2/connectivity/models/_postgre_sql_import_config.py +++ b/foundry/v2/connectivity/models/_postgre_sql_import_config.py @@ -28,7 +28,7 @@ class PostgreSqlImportConfig(pydantic.BaseModel): """The import configuration for a [PostgreSQL connection](docs/foundry/available-connectors/postgresql).""" - query: pydantic.StrictStr + query: str """ A single SQL query can be executed per sync, which should output a data table diff --git a/foundry/v2/connectivity/models/_postgre_sql_import_config_dict.py b/foundry/v2/connectivity/models/_postgre_sql_import_config_dict.py index 7e8ce6b1..65e2fc33 100644 --- a/foundry/v2/connectivity/models/_postgre_sql_import_config_dict.py +++ b/foundry/v2/connectivity/models/_postgre_sql_import_config_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,7 +25,7 @@ class PostgreSqlImportConfigDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - query: pydantic.StrictStr + query: str """ A single SQL query can be executed per sync, which should output a data table and avoid operations like invoking stored procedures. diff --git a/foundry/v2/connectivity/models/_s3_connection_configuration.py b/foundry/v2/connectivity/models/_s3_connection_configuration.py index 13b534cc..af301749 100644 --- a/foundry/v2/connectivity/models/_s3_connection_configuration.py +++ b/foundry/v2/connectivity/models/_s3_connection_configuration.py @@ -33,7 +33,7 @@ class S3ConnectionConfiguration(pydantic.BaseModel): implement the s3a protocol)](/docs/foundry/available-connectors/amazon-s3/#amazon-s3). """ - bucket_url: pydantic.StrictStr = pydantic.Field(alias="bucketUrl") + bucket_url: str = pydantic.Field(alias="bucketUrl") """The URL of the S3 bucket. The URL should contain a trailing slash.""" diff --git a/foundry/v2/connectivity/models/_s3_connection_configuration_dict.py b/foundry/v2/connectivity/models/_s3_connection_configuration_dict.py index df65a9f6..7d347835 100644 --- a/foundry/v2/connectivity/models/_s3_connection_configuration_dict.py +++ b/foundry/v2/connectivity/models/_s3_connection_configuration_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -34,7 +33,7 @@ class S3ConnectionConfigurationDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - bucketUrl: pydantic.StrictStr + bucketUrl: str """The URL of the S3 bucket. The URL should contain a trailing slash.""" authenticationMode: NotRequired[S3AuthenticationModeDict] diff --git a/foundry/v2/connectivity/models/_secret_name.py b/foundry/v2/connectivity/models/_secret_name.py index c2b1094e..dcccbe82 100644 --- a/foundry/v2/connectivity/models/_secret_name.py +++ b/foundry/v2/connectivity/models/_secret_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -SecretName = pydantic.StrictStr +SecretName = str """SecretName""" diff --git a/foundry/v2/connectivity/models/_table_import_allow_schema_changes.py b/foundry/v2/connectivity/models/_table_import_allow_schema_changes.py index 514d42eb..4b9588f9 100644 --- a/foundry/v2/connectivity/models/_table_import_allow_schema_changes.py +++ b/foundry/v2/connectivity/models/_table_import_allow_schema_changes.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -TableImportAllowSchemaChanges = pydantic.StrictBool +TableImportAllowSchemaChanges = bool """Allow the TableImport to succeed if the schema of imported rows does not match the existing dataset's schema. Defaults to false for new table imports.""" diff --git a/foundry/v2/connectivity/models/_table_import_display_name.py b/foundry/v2/connectivity/models/_table_import_display_name.py index 42fccb88..6d73733f 100644 --- a/foundry/v2/connectivity/models/_table_import_display_name.py +++ b/foundry/v2/connectivity/models/_table_import_display_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -TableImportDisplayName = pydantic.StrictStr +TableImportDisplayName = str """TableImportDisplayName""" diff --git a/foundry/v2/core/errors/_batch_request_size_exceeded_limit.py b/foundry/v2/core/errors/_batch_request_size_exceeded_limit.py index 216a8021..d7ddb253 100644 --- a/foundry/v2/core/errors/_batch_request_size_exceeded_limit.py +++ b/foundry/v2/core/errors/_batch_request_size_exceeded_limit.py @@ -29,10 +29,10 @@ class BatchRequestSizeExceededLimitParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - MaximumBatchSize: pydantic.StrictInt + MaximumBatchSize: int """The maximum size of batch requests that can be sent to this endpoint.""" - ProvidedBatchSize: pydantic.StrictInt + ProvidedBatchSize: int """The size of the batch request that was sent to this endpoint.""" diff --git a/foundry/v2/core/errors/_invalid_field_schema.py b/foundry/v2/core/errors/_invalid_field_schema.py index b845456c..0d3bb268 100644 --- a/foundry/v2/core/errors/_invalid_field_schema.py +++ b/foundry/v2/core/errors/_invalid_field_schema.py @@ -33,7 +33,7 @@ class InvalidFieldSchemaParameters(TypedDict): fieldName: NotRequired[FieldName] - message: pydantic.StrictStr + message: str @dataclass diff --git a/foundry/v2/core/errors/_invalid_parameter_combination.py b/foundry/v2/core/errors/_invalid_parameter_combination.py index 583538e7..1d9aa4d0 100644 --- a/foundry/v2/core/errors/_invalid_parameter_combination.py +++ b/foundry/v2/core/errors/_invalid_parameter_combination.py @@ -30,9 +30,9 @@ class InvalidParameterCombinationParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - validCombinations: List[List[pydantic.StrictStr]] + validCombinations: List[List[str]] - providedParameters: List[pydantic.StrictStr] + providedParameters: List[str] @dataclass diff --git a/foundry/v2/core/errors/_invalid_schema.py b/foundry/v2/core/errors/_invalid_schema.py index 0df0f230..964a7779 100644 --- a/foundry/v2/core/errors/_invalid_schema.py +++ b/foundry/v2/core/errors/_invalid_schema.py @@ -29,9 +29,9 @@ class InvalidSchemaParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - errorType: pydantic.StrictStr + errorType: str - message: pydantic.StrictStr + message: str @dataclass diff --git a/foundry/v2/core/errors/_resource_name_already_exists.py b/foundry/v2/core/errors/_resource_name_already_exists.py index f07279ed..5045ef4a 100644 --- a/foundry/v2/core/errors/_resource_name_already_exists.py +++ b/foundry/v2/core/errors/_resource_name_already_exists.py @@ -32,7 +32,7 @@ class ResourceNameAlreadyExistsParameters(TypedDict): parentFolderRid: FolderRid - displayName: pydantic.StrictStr + displayName: str @dataclass diff --git a/foundry/v2/core/models/_content_length.py b/foundry/v2/core/models/_content_length.py index eb160d5f..1bdc5aed 100644 --- a/foundry/v2/core/models/_content_length.py +++ b/foundry/v2/core/models/_content_length.py @@ -15,7 +15,7 @@ from __future__ import annotations -import pydantic +from foundry._core.utils import Long -ContentLength = pydantic.StrictStr +ContentLength = Long """ContentLength""" diff --git a/foundry/v2/core/models/_content_type.py b/foundry/v2/core/models/_content_type.py index 7f24795b..87172cb3 100644 --- a/foundry/v2/core/models/_content_type.py +++ b/foundry/v2/core/models/_content_type.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -ContentType = pydantic.StrictStr +ContentType = str """ContentType""" diff --git a/foundry/v2/core/models/_custom_metadata.py b/foundry/v2/core/models/_custom_metadata.py index 7c5e4103..6c493c84 100644 --- a/foundry/v2/core/models/_custom_metadata.py +++ b/foundry/v2/core/models/_custom_metadata.py @@ -18,7 +18,5 @@ from typing import Any from typing import Dict -import pydantic - -CustomMetadata = Dict[pydantic.StrictStr, Any] +CustomMetadata = Dict[str, Any] """CustomMetadata""" diff --git a/foundry/v2/core/models/_decimal_type.py b/foundry/v2/core/models/_decimal_type.py index 4ede04de..c7b1ffba 100644 --- a/foundry/v2/core/models/_decimal_type.py +++ b/foundry/v2/core/models/_decimal_type.py @@ -26,11 +26,11 @@ class DecimalType(pydantic.BaseModel): """DecimalType""" - scale: pydantic.StrictInt + scale: int """The number of digits to the right of the decimal point. The maximum value is 38.""" - precision: pydantic.StrictInt + precision: int """The total number of digits of the Decimal type. The maximum value is 38.""" diff --git a/foundry/v2/core/models/_decimal_type_dict.py b/foundry/v2/core/models/_decimal_type_dict.py index 9b023b0f..30b1c5f7 100644 --- a/foundry/v2/core/models/_decimal_type_dict.py +++ b/foundry/v2/core/models/_decimal_type_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,10 +25,10 @@ class DecimalTypeDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - scale: pydantic.StrictInt + scale: int """The number of digits to the right of the decimal point. The maximum value is 38.""" - precision: pydantic.StrictInt + precision: int """The total number of digits of the Decimal type. The maximum value is 38.""" type: Literal["decimal"] diff --git a/foundry/v2/core/models/_display_name.py b/foundry/v2/core/models/_display_name.py index a74896a2..08ffe6cd 100644 --- a/foundry/v2/core/models/_display_name.py +++ b/foundry/v2/core/models/_display_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -DisplayName = pydantic.StrictStr +DisplayName = str """The display name of the entity.""" diff --git a/foundry/v2/core/models/_distance.py b/foundry/v2/core/models/_distance.py index daa04914..fd126b9e 100644 --- a/foundry/v2/core/models/_distance.py +++ b/foundry/v2/core/models/_distance.py @@ -26,7 +26,7 @@ class Distance(pydantic.BaseModel): """A measurement of distance.""" - value: pydantic.StrictFloat + value: float unit: DistanceUnit diff --git a/foundry/v2/core/models/_distance_dict.py b/foundry/v2/core/models/_distance_dict.py index 0090c0b2..11352ec1 100644 --- a/foundry/v2/core/models/_distance_dict.py +++ b/foundry/v2/core/models/_distance_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import TypedDict from foundry.v2.core.models._distance_unit import DistanceUnit @@ -26,6 +25,6 @@ class DistanceDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - value: pydantic.StrictFloat + value: float unit: DistanceUnit diff --git a/foundry/v2/core/models/_duration.py b/foundry/v2/core/models/_duration.py index 5ce0d732..6a63a402 100644 --- a/foundry/v2/core/models/_duration.py +++ b/foundry/v2/core/models/_duration.py @@ -26,7 +26,7 @@ class Duration(pydantic.BaseModel): """A measurement of duration.""" - value: pydantic.StrictInt + value: int """The duration value.""" diff --git a/foundry/v2/core/models/_duration_dict.py b/foundry/v2/core/models/_duration_dict.py index 7409fdbe..06999170 100644 --- a/foundry/v2/core/models/_duration_dict.py +++ b/foundry/v2/core/models/_duration_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import TypedDict from foundry.v2.core.models._time_unit import TimeUnit @@ -26,7 +25,7 @@ class DurationDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - value: pydantic.StrictInt + value: int """The duration value.""" unit: TimeUnit diff --git a/foundry/v2/core/models/_field_data_type.py b/foundry/v2/core/models/_field_data_type.py index 3ca0137c..25709093 100644 --- a/foundry/v2/core/models/_field_data_type.py +++ b/foundry/v2/core/models/_field_data_type.py @@ -48,7 +48,7 @@ class FieldSchema(pydantic.BaseModel): """The specification of the type of a Foundry schema field.""" - nullable: pydantic.StrictBool + nullable: bool custom_metadata: Optional[CustomMetadata] = pydantic.Field(alias="customMetadata", default=None) diff --git a/foundry/v2/core/models/_field_data_type_dict.py b/foundry/v2/core/models/_field_data_type_dict.py index 96edc6ad..58b8e3b6 100644 --- a/foundry/v2/core/models/_field_data_type_dict.py +++ b/foundry/v2/core/models/_field_data_type_dict.py @@ -45,7 +45,7 @@ class FieldSchemaDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - nullable: pydantic.StrictBool + nullable: bool customMetadata: NotRequired[CustomMetadata] diff --git a/foundry/v2/core/models/_field_name.py b/foundry/v2/core/models/_field_name.py index 732a3235..b6e6986f 100644 --- a/foundry/v2/core/models/_field_name.py +++ b/foundry/v2/core/models/_field_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -FieldName = pydantic.StrictStr +FieldName = str """FieldName""" diff --git a/foundry/v2/core/models/_field_schema.py b/foundry/v2/core/models/_field_schema.py index 740385bc..1a2bfa8a 100644 --- a/foundry/v2/core/models/_field_schema.py +++ b/foundry/v2/core/models/_field_schema.py @@ -28,7 +28,7 @@ class FieldSchema(pydantic.BaseModel): """The specification of the type of a Foundry schema field.""" - nullable: pydantic.StrictBool + nullable: bool custom_metadata: Optional[CustomMetadata] = pydantic.Field(alias="customMetadata", default=None) diff --git a/foundry/v2/core/models/_field_schema_dict.py b/foundry/v2/core/models/_field_schema_dict.py index 08e26a4f..86e9312e 100644 --- a/foundry/v2/core/models/_field_schema_dict.py +++ b/foundry/v2/core/models/_field_schema_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -28,7 +27,7 @@ class FieldSchemaDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - nullable: pydantic.StrictBool + nullable: bool customMetadata: NotRequired[CustomMetadata] diff --git a/foundry/v2/core/models/_file_path.py b/foundry/v2/core/models/_file_path.py index a230b25d..0cc107f4 100644 --- a/foundry/v2/core/models/_file_path.py +++ b/foundry/v2/core/models/_file_path.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -FilePath = pydantic.StrictStr +FilePath = str """The path to a File within Foundry.""" diff --git a/foundry/v2/core/models/_filename.py b/foundry/v2/core/models/_filename.py index ac5de0b1..6b62951d 100644 --- a/foundry/v2/core/models/_filename.py +++ b/foundry/v2/core/models/_filename.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -Filename = pydantic.StrictStr +Filename = str """The name of a File within Foundry. Examples: `my-file.txt`, `my-file.jpg`, `dataframe.snappy.parquet`.""" diff --git a/foundry/v2/core/models/_media_type.py b/foundry/v2/core/models/_media_type.py index 918d874a..ca10142e 100644 --- a/foundry/v2/core/models/_media_type.py +++ b/foundry/v2/core/models/_media_type.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -MediaType = pydantic.StrictStr +MediaType = str """ The [media type](https://www.iana.org/assignments/media-types/media-types.xhtml) of the file or attachment. Examples: `application/json`, `application/pdf`, `application/octet-stream`, `image/jpeg` diff --git a/foundry/v2/core/models/_page_size.py b/foundry/v2/core/models/_page_size.py index 01301801..633cc385 100644 --- a/foundry/v2/core/models/_page_size.py +++ b/foundry/v2/core/models/_page_size.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -PageSize = pydantic.StrictInt +PageSize = int """The page size to use for the endpoint.""" diff --git a/foundry/v2/core/models/_page_token.py b/foundry/v2/core/models/_page_token.py index cef5b787..cf5fc49f 100644 --- a/foundry/v2/core/models/_page_token.py +++ b/foundry/v2/core/models/_page_token.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -PageToken = pydantic.StrictStr +PageToken = str """ The page token indicates where to start paging. This should be omitted from the first page's request. To fetch the next page, clients should take the value from the `nextPageToken` field of the previous response diff --git a/foundry/v2/core/models/_preview_mode.py b/foundry/v2/core/models/_preview_mode.py index adc827a3..99fe3eb2 100644 --- a/foundry/v2/core/models/_preview_mode.py +++ b/foundry/v2/core/models/_preview_mode.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -PreviewMode = pydantic.StrictBool +PreviewMode = bool """Enables the use of preview functionality.""" diff --git a/foundry/v2/core/models/_principal_id.py b/foundry/v2/core/models/_principal_id.py index a8b602af..71cf3a5e 100644 --- a/foundry/v2/core/models/_principal_id.py +++ b/foundry/v2/core/models/_principal_id.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -PrincipalId = pydantic.StrictStr +PrincipalId = str """The ID of a Foundry Group or User.""" diff --git a/foundry/v2/core/models/_realm.py b/foundry/v2/core/models/_realm.py index 5a4e1e3c..54c702f5 100644 --- a/foundry/v2/core/models/_realm.py +++ b/foundry/v2/core/models/_realm.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -Realm = pydantic.StrictStr +Realm = str """ Identifies which Realm a User or Group is a member of. The `palantir-internal-realm` is used for Users or Groups that are created in Foundry by administrators and not associated with any SSO provider. diff --git a/foundry/v2/core/models/_size_bytes.py b/foundry/v2/core/models/_size_bytes.py index a0ab0cb5..98144378 100644 --- a/foundry/v2/core/models/_size_bytes.py +++ b/foundry/v2/core/models/_size_bytes.py @@ -15,7 +15,7 @@ from __future__ import annotations -import pydantic +from foundry._core.utils import Long -SizeBytes = pydantic.StrictStr +SizeBytes = Long """The size of the file or attachment in bytes.""" diff --git a/foundry/v2/core/models/_struct_field_name.py b/foundry/v2/core/models/_struct_field_name.py index ef7eaa52..688b7369 100644 --- a/foundry/v2/core/models/_struct_field_name.py +++ b/foundry/v2/core/models/_struct_field_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -StructFieldName = pydantic.StrictStr +StructFieldName = str """The name of a field in a `Struct`.""" diff --git a/foundry/v2/core/models/_total_count.py b/foundry/v2/core/models/_total_count.py index 2436041a..b524349a 100644 --- a/foundry/v2/core/models/_total_count.py +++ b/foundry/v2/core/models/_total_count.py @@ -15,7 +15,7 @@ from __future__ import annotations -import pydantic +from foundry._core.utils import Long -TotalCount = pydantic.StrictStr +TotalCount = Long """The total number of items across all pages.""" diff --git a/foundry/v2/core/models/_unsupported_type.py b/foundry/v2/core/models/_unsupported_type.py index 68441048..a07e7958 100644 --- a/foundry/v2/core/models/_unsupported_type.py +++ b/foundry/v2/core/models/_unsupported_type.py @@ -26,7 +26,7 @@ class UnsupportedType(pydantic.BaseModel): """UnsupportedType""" - unsupported_type: pydantic.StrictStr = pydantic.Field(alias="unsupportedType") + unsupported_type: str = pydantic.Field(alias="unsupportedType") type: Literal["unsupported"] = "unsupported" diff --git a/foundry/v2/core/models/_unsupported_type_dict.py b/foundry/v2/core/models/_unsupported_type_dict.py index 96f02348..29ad0ef0 100644 --- a/foundry/v2/core/models/_unsupported_type_dict.py +++ b/foundry/v2/core/models/_unsupported_type_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,6 +25,6 @@ class UnsupportedTypeDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - unsupportedType: pydantic.StrictStr + unsupportedType: str type: Literal["unsupported"] diff --git a/foundry/v2/core/models/_zone_id.py b/foundry/v2/core/models/_zone_id.py index 7896762b..6fd634fe 100644 --- a/foundry/v2/core/models/_zone_id.py +++ b/foundry/v2/core/models/_zone_id.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -ZoneId = pydantic.StrictStr +ZoneId = str """A string representation of a java.time.ZoneId""" diff --git a/foundry/v2/datasets/dataset.py b/foundry/v2/datasets/dataset.py index 28a78e71..38e53abf 100644 --- a/foundry/v2/datasets/dataset.py +++ b/foundry/v2/datasets/dataset.py @@ -147,9 +147,9 @@ def read_table( stream: Literal[True], format: TableExportFormat, branch_name: Optional[BranchName] = None, - columns: Optional[List[pydantic.StrictStr]] = None, + columns: Optional[List[str]] = None, end_transaction_rid: Optional[TransactionRid] = None, - row_limit: Optional[pydantic.StrictInt] = None, + row_limit: Optional[int] = None, start_transaction_rid: Optional[TransactionRid] = None, chunk_size: Optional[int] = None, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, @@ -166,11 +166,11 @@ def read_table( :param branch_name: branchName :type branch_name: Optional[BranchName] :param columns: columns - :type columns: Optional[List[pydantic.StrictStr]] + :type columns: Optional[List[str]] :param end_transaction_rid: endTransactionRid :type end_transaction_rid: Optional[TransactionRid] :param row_limit: rowLimit - :type row_limit: Optional[pydantic.StrictInt] + :type row_limit: Optional[int] :param start_transaction_rid: startTransactionRid :type start_transaction_rid: Optional[TransactionRid] :param stream: Whether to stream back the binary data in an iterator. This avoids reading the entire content of the response into memory at once. @@ -191,9 +191,9 @@ def read_table( *, format: TableExportFormat, branch_name: Optional[BranchName] = None, - columns: Optional[List[pydantic.StrictStr]] = None, + columns: Optional[List[str]] = None, end_transaction_rid: Optional[TransactionRid] = None, - row_limit: Optional[pydantic.StrictInt] = None, + row_limit: Optional[int] = None, start_transaction_rid: Optional[TransactionRid] = None, stream: Literal[False] = False, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, @@ -210,11 +210,11 @@ def read_table( :param branch_name: branchName :type branch_name: Optional[BranchName] :param columns: columns - :type columns: Optional[List[pydantic.StrictStr]] + :type columns: Optional[List[str]] :param end_transaction_rid: endTransactionRid :type end_transaction_rid: Optional[TransactionRid] :param row_limit: rowLimit - :type row_limit: Optional[pydantic.StrictInt] + :type row_limit: Optional[int] :param start_transaction_rid: startTransactionRid :type start_transaction_rid: Optional[TransactionRid] :param stream: Whether to stream back the binary data in an iterator. This avoids reading the entire content of the response into memory at once. @@ -234,9 +234,9 @@ def read_table( stream: bool, format: TableExportFormat, branch_name: Optional[BranchName] = None, - columns: Optional[List[pydantic.StrictStr]] = None, + columns: Optional[List[str]] = None, end_transaction_rid: Optional[TransactionRid] = None, - row_limit: Optional[pydantic.StrictInt] = None, + row_limit: Optional[int] = None, start_transaction_rid: Optional[TransactionRid] = None, chunk_size: Optional[int] = None, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, @@ -253,11 +253,11 @@ def read_table( :param branch_name: branchName :type branch_name: Optional[BranchName] :param columns: columns - :type columns: Optional[List[pydantic.StrictStr]] + :type columns: Optional[List[str]] :param end_transaction_rid: endTransactionRid :type end_transaction_rid: Optional[TransactionRid] :param row_limit: rowLimit - :type row_limit: Optional[pydantic.StrictInt] + :type row_limit: Optional[int] :param start_transaction_rid: startTransactionRid :type start_transaction_rid: Optional[TransactionRid] :param stream: Whether to stream back the binary data in an iterator. This avoids reading the entire content of the response into memory at once. @@ -280,9 +280,9 @@ def read_table( *, format: TableExportFormat, branch_name: Optional[BranchName] = None, - columns: Optional[List[pydantic.StrictStr]] = None, + columns: Optional[List[str]] = None, end_transaction_rid: Optional[TransactionRid] = None, - row_limit: Optional[pydantic.StrictInt] = None, + row_limit: Optional[int] = None, start_transaction_rid: Optional[TransactionRid] = None, stream: bool = False, chunk_size: Optional[int] = None, @@ -300,11 +300,11 @@ def read_table( :param branch_name: branchName :type branch_name: Optional[BranchName] :param columns: columns - :type columns: Optional[List[pydantic.StrictStr]] + :type columns: Optional[List[str]] :param end_transaction_rid: endTransactionRid :type end_transaction_rid: Optional[TransactionRid] :param row_limit: rowLimit - :type row_limit: Optional[pydantic.StrictInt] + :type row_limit: Optional[int] :param start_transaction_rid: startTransactionRid :type start_transaction_rid: Optional[TransactionRid] :param stream: Whether to stream back the binary data in an iterator. This avoids reading the entire content of the response into memory at once. diff --git a/foundry/v2/datasets/models/_branch_name.py b/foundry/v2/datasets/models/_branch_name.py index 6562813e..c3d7a81e 100644 --- a/foundry/v2/datasets/models/_branch_name.py +++ b/foundry/v2/datasets/models/_branch_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -BranchName = pydantic.StrictStr +BranchName = str """The name of a Branch.""" diff --git a/foundry/v2/datasets/models/_dataset_name.py b/foundry/v2/datasets/models/_dataset_name.py index c542dce6..3a8f02e3 100644 --- a/foundry/v2/datasets/models/_dataset_name.py +++ b/foundry/v2/datasets/models/_dataset_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -DatasetName = pydantic.StrictStr +DatasetName = str """DatasetName""" diff --git a/foundry/v2/datasets/models/_file.py b/foundry/v2/datasets/models/_file.py index 7be34baa..66771ce7 100644 --- a/foundry/v2/datasets/models/_file.py +++ b/foundry/v2/datasets/models/_file.py @@ -20,6 +20,7 @@ import pydantic +from foundry._core.utils import Long from foundry.v2.core.models._file_path import FilePath from foundry.v2.datasets.models._file_dict import FileDict from foundry.v2.datasets.models._file_updated_time import FileUpdatedTime @@ -33,7 +34,7 @@ class File(pydantic.BaseModel): transaction_rid: TransactionRid = pydantic.Field(alias="transactionRid") - size_bytes: Optional[pydantic.StrictStr] = pydantic.Field(alias="sizeBytes", default=None) + size_bytes: Optional[Long] = pydantic.Field(alias="sizeBytes", default=None) updated_time: FileUpdatedTime = pydantic.Field(alias="updatedTime") diff --git a/foundry/v2/datasets/models/_file_dict.py b/foundry/v2/datasets/models/_file_dict.py index f66687b0..a3f98144 100644 --- a/foundry/v2/datasets/models/_file_dict.py +++ b/foundry/v2/datasets/models/_file_dict.py @@ -15,10 +15,10 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict +from foundry._core.utils import Long from foundry.v2.core.models._file_path import FilePath from foundry.v2.datasets.models._file_updated_time import FileUpdatedTime from foundry.v2.datasets.models._transaction_rid import TransactionRid @@ -33,6 +33,6 @@ class FileDict(TypedDict): transactionRid: TransactionRid - sizeBytes: NotRequired[pydantic.StrictStr] + sizeBytes: NotRequired[Long] updatedTime: FileUpdatedTime diff --git a/foundry/v2/filesystem/models/_folder.py b/foundry/v2/filesystem/models/_folder.py index 8c84ab33..54b4c33c 100644 --- a/foundry/v2/filesystem/models/_folder.py +++ b/foundry/v2/filesystem/models/_folder.py @@ -41,11 +41,11 @@ class Folder(pydantic.BaseModel): display_name: ResourceDisplayName = pydantic.Field(alias="displayName") - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None """The description associated with the Folder.""" - documentation: Optional[pydantic.StrictStr] = None + documentation: Optional[str] = None """The documentation associated with the Folder.""" diff --git a/foundry/v2/filesystem/models/_folder_dict.py b/foundry/v2/filesystem/models/_folder_dict.py index 7a945062..32cba15d 100644 --- a/foundry/v2/filesystem/models/_folder_dict.py +++ b/foundry/v2/filesystem/models/_folder_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -41,10 +40,10 @@ class FolderDict(TypedDict): displayName: ResourceDisplayName - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] """The description associated with the Folder.""" - documentation: NotRequired[pydantic.StrictStr] + documentation: NotRequired[str] """The documentation associated with the Folder.""" path: ResourcePath diff --git a/foundry/v2/filesystem/models/_is_directly_applied.py b/foundry/v2/filesystem/models/_is_directly_applied.py index 9cf1b74e..aa5ed709 100644 --- a/foundry/v2/filesystem/models/_is_directly_applied.py +++ b/foundry/v2/filesystem/models/_is_directly_applied.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -IsDirectlyApplied = pydantic.StrictBool +IsDirectlyApplied = bool """ Boolean flag to indicate if the marking is directly applied to the resource, or if it's applied to a parent resource and inherited by the current resource. diff --git a/foundry/v2/filesystem/models/_project.py b/foundry/v2/filesystem/models/_project.py index 1d225948..bab12bf9 100644 --- a/foundry/v2/filesystem/models/_project.py +++ b/foundry/v2/filesystem/models/_project.py @@ -41,11 +41,11 @@ class Project(pydantic.BaseModel): """The display name of the Project. Must be unique and cannot contain a /""" - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None """The description associated with the Project.""" - documentation: Optional[pydantic.StrictStr] = None + documentation: Optional[str] = None """The documentation associated with the Project.""" diff --git a/foundry/v2/filesystem/models/_project_dict.py b/foundry/v2/filesystem/models/_project_dict.py index 7fc30b00..9f41edb2 100644 --- a/foundry/v2/filesystem/models/_project_dict.py +++ b/foundry/v2/filesystem/models/_project_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -40,10 +39,10 @@ class ProjectDict(TypedDict): displayName: ResourceDisplayName """The display name of the Project. Must be unique and cannot contain a /""" - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] """The description associated with the Project.""" - documentation: NotRequired[pydantic.StrictStr] + documentation: NotRequired[str] """The documentation associated with the Project.""" path: ResourcePath diff --git a/foundry/v2/filesystem/models/_resource.py b/foundry/v2/filesystem/models/_resource.py index d9a42b59..3670934d 100644 --- a/foundry/v2/filesystem/models/_resource.py +++ b/foundry/v2/filesystem/models/_resource.py @@ -44,11 +44,11 @@ class Resource(pydantic.BaseModel): """The display name of the Resource""" - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None """The description of the Resource""" - documentation: Optional[pydantic.StrictStr] = None + documentation: Optional[str] = None """The documentation associated with the Resource""" diff --git a/foundry/v2/filesystem/models/_resource_dict.py b/foundry/v2/filesystem/models/_resource_dict.py index dcbf707f..240bc777 100644 --- a/foundry/v2/filesystem/models/_resource_dict.py +++ b/foundry/v2/filesystem/models/_resource_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -43,10 +42,10 @@ class ResourceDict(TypedDict): displayName: ResourceDisplayName """The display name of the Resource""" - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] """The description of the Resource""" - documentation: NotRequired[pydantic.StrictStr] + documentation: NotRequired[str] """The documentation associated with the Resource""" path: ResourcePath diff --git a/foundry/v2/filesystem/models/_resource_display_name.py b/foundry/v2/filesystem/models/_resource_display_name.py index 185dc161..96133f1e 100644 --- a/foundry/v2/filesystem/models/_resource_display_name.py +++ b/foundry/v2/filesystem/models/_resource_display_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -ResourceDisplayName = pydantic.StrictStr +ResourceDisplayName = str """The display name of the Resource""" diff --git a/foundry/v2/filesystem/models/_resource_path.py b/foundry/v2/filesystem/models/_resource_path.py index 8776ab2e..4d3edcd6 100644 --- a/foundry/v2/filesystem/models/_resource_path.py +++ b/foundry/v2/filesystem/models/_resource_path.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -ResourcePath = pydantic.StrictStr +ResourcePath = str """The full path to the resource, including the resource name itself""" diff --git a/foundry/v2/functions/errors/_query_encountered_user_facing_error.py b/foundry/v2/functions/errors/_query_encountered_user_facing_error.py index 8fefea28..015d18b2 100644 --- a/foundry/v2/functions/errors/_query_encountered_user_facing_error.py +++ b/foundry/v2/functions/errors/_query_encountered_user_facing_error.py @@ -38,7 +38,7 @@ class QueryEncounteredUserFacingErrorParameters(TypedDict): functionVersion: FunctionVersion - message: pydantic.StrictStr + message: str @dataclass diff --git a/foundry/v2/functions/errors/_query_runtime_error.py b/foundry/v2/functions/errors/_query_runtime_error.py index cc3b7314..69d02718 100644 --- a/foundry/v2/functions/errors/_query_runtime_error.py +++ b/foundry/v2/functions/errors/_query_runtime_error.py @@ -40,11 +40,11 @@ class QueryRuntimeErrorParameters(TypedDict): functionVersion: FunctionVersion - message: NotRequired[pydantic.StrictStr] + message: NotRequired[str] - stacktrace: NotRequired[pydantic.StrictStr] + stacktrace: NotRequired[str] - parameters: Dict[QueryRuntimeErrorParameter, pydantic.StrictStr] + parameters: Dict[QueryRuntimeErrorParameter, str] @dataclass diff --git a/foundry/v2/functions/models/_function_version.py b/foundry/v2/functions/models/_function_version.py index e0038a52..85cf61ce 100644 --- a/foundry/v2/functions/models/_function_version.py +++ b/foundry/v2/functions/models/_function_version.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -FunctionVersion = pydantic.StrictStr +FunctionVersion = str """ The version of the given Function, written `..-`, where `-` is optional. Examples: `1.2.3`, `1.2.3-rc1`. diff --git a/foundry/v2/functions/models/_parameter.py b/foundry/v2/functions/models/_parameter.py index 8b6bb716..c425b726 100644 --- a/foundry/v2/functions/models/_parameter.py +++ b/foundry/v2/functions/models/_parameter.py @@ -27,7 +27,7 @@ class Parameter(pydantic.BaseModel): """Details about a parameter of a query.""" - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None data_type: QueryDataType = pydantic.Field(alias="dataType") diff --git a/foundry/v2/functions/models/_parameter_dict.py b/foundry/v2/functions/models/_parameter_dict.py index 7405e67a..223b14be 100644 --- a/foundry/v2/functions/models/_parameter_dict.py +++ b/foundry/v2/functions/models/_parameter_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -27,6 +26,6 @@ class ParameterDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] dataType: QueryDataTypeDict diff --git a/foundry/v2/functions/models/_parameter_id.py b/foundry/v2/functions/models/_parameter_id.py index 685d7e59..70d828b7 100644 --- a/foundry/v2/functions/models/_parameter_id.py +++ b/foundry/v2/functions/models/_parameter_id.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -ParameterId = pydantic.StrictStr +ParameterId = str """ The unique identifier of the parameter. Parameters are used as inputs when an action or query is applied. Parameters can be viewed and managed in the **Ontology Manager**. diff --git a/foundry/v2/functions/models/_query.py b/foundry/v2/functions/models/_query.py index 438f79e1..9c9dcf4c 100644 --- a/foundry/v2/functions/models/_query.py +++ b/foundry/v2/functions/models/_query.py @@ -36,7 +36,7 @@ class Query(pydantic.BaseModel): api_name: QueryApiName = pydantic.Field(alias="apiName") - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None display_name: Optional[DisplayName] = pydantic.Field(alias="displayName", default=None) diff --git a/foundry/v2/functions/models/_query_api_name.py b/foundry/v2/functions/models/_query_api_name.py index 05ca63a3..74ecf62f 100644 --- a/foundry/v2/functions/models/_query_api_name.py +++ b/foundry/v2/functions/models/_query_api_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -QueryApiName = pydantic.StrictStr +QueryApiName = str """The name of the Query in the API.""" diff --git a/foundry/v2/functions/models/_query_dict.py b/foundry/v2/functions/models/_query_dict.py index bbd2695c..3eecb7ef 100644 --- a/foundry/v2/functions/models/_query_dict.py +++ b/foundry/v2/functions/models/_query_dict.py @@ -17,7 +17,6 @@ from typing import Dict -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -37,7 +36,7 @@ class QueryDict(TypedDict): apiName: QueryApiName - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] displayName: NotRequired[DisplayName] diff --git a/foundry/v2/functions/models/_query_runtime_error_parameter.py b/foundry/v2/functions/models/_query_runtime_error_parameter.py index fe3fa7a2..83ebbda9 100644 --- a/foundry/v2/functions/models/_query_runtime_error_parameter.py +++ b/foundry/v2/functions/models/_query_runtime_error_parameter.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -QueryRuntimeErrorParameter = pydantic.StrictStr +QueryRuntimeErrorParameter = str """QueryRuntimeErrorParameter""" diff --git a/foundry/v2/functions/models/_struct_field_name.py b/foundry/v2/functions/models/_struct_field_name.py index ef7eaa52..688b7369 100644 --- a/foundry/v2/functions/models/_struct_field_name.py +++ b/foundry/v2/functions/models/_struct_field_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -StructFieldName = pydantic.StrictStr +StructFieldName = str """The name of a field in a `Struct`.""" diff --git a/foundry/v2/functions/models/_value_type_api_name.py b/foundry/v2/functions/models/_value_type_api_name.py index 6f782ceb..27f9d4de 100644 --- a/foundry/v2/functions/models/_value_type_api_name.py +++ b/foundry/v2/functions/models/_value_type_api_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -ValueTypeApiName = pydantic.StrictStr +ValueTypeApiName = str """The registered API name for the value type.""" diff --git a/foundry/v2/functions/models/_value_type_data_type_struct_field_identifier.py b/foundry/v2/functions/models/_value_type_data_type_struct_field_identifier.py index f8bb6e4b..ee38a48c 100644 --- a/foundry/v2/functions/models/_value_type_data_type_struct_field_identifier.py +++ b/foundry/v2/functions/models/_value_type_data_type_struct_field_identifier.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -ValueTypeDataTypeStructFieldIdentifier = pydantic.StrictStr +ValueTypeDataTypeStructFieldIdentifier = str """ValueTypeDataTypeStructFieldIdentifier""" diff --git a/foundry/v2/functions/models/_value_type_description.py b/foundry/v2/functions/models/_value_type_description.py index 36c742c6..dfc07f99 100644 --- a/foundry/v2/functions/models/_value_type_description.py +++ b/foundry/v2/functions/models/_value_type_description.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -ValueTypeDescription = pydantic.StrictStr +ValueTypeDescription = str """A description of the value type.""" diff --git a/foundry/v2/functions/models/_value_type_version.py b/foundry/v2/functions/models/_value_type_version.py index a9ed0309..d7d684a3 100644 --- a/foundry/v2/functions/models/_value_type_version.py +++ b/foundry/v2/functions/models/_value_type_version.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -ValueTypeVersion = pydantic.StrictStr +ValueTypeVersion = str """The version of a value type that has been registered in the Ontology.""" diff --git a/foundry/v2/geo/models/_coordinate.py b/foundry/v2/geo/models/_coordinate.py index 3f86802e..07af2f5d 100644 --- a/foundry/v2/geo/models/_coordinate.py +++ b/foundry/v2/geo/models/_coordinate.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -Coordinate = pydantic.StrictFloat +Coordinate = float """Coordinate""" diff --git a/foundry/v2/ontologies/linked_object.py b/foundry/v2/ontologies/linked_object.py index efd60d48..b52af172 100644 --- a/foundry/v2/ontologies/linked_object.py +++ b/foundry/v2/ontologies/linked_object.py @@ -64,7 +64,7 @@ def get_linked_object( linked_object_primary_key: PropertyValueEscapedString, *, artifact_repository: Optional[ArtifactRepositoryRid] = None, - exclude_rid: Optional[pydantic.StrictBool] = None, + exclude_rid: Optional[bool] = None, package_name: Optional[SdkPackageName] = None, select: Optional[List[SelectedPropertyApiName]] = None, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, @@ -89,7 +89,7 @@ def get_linked_object( :param artifact_repository: artifactRepository :type artifact_repository: Optional[ArtifactRepositoryRid] :param exclude_rid: excludeRid - :type exclude_rid: Optional[pydantic.StrictBool] + :type exclude_rid: Optional[bool] :param package_name: packageName :type package_name: Optional[SdkPackageName] :param select: select @@ -138,7 +138,7 @@ def list_linked_objects( link_type: LinkTypeApiName, *, artifact_repository: Optional[ArtifactRepositoryRid] = None, - exclude_rid: Optional[pydantic.StrictBool] = None, + exclude_rid: Optional[bool] = None, order_by: Optional[OrderBy] = None, package_name: Optional[SdkPackageName] = None, page_size: Optional[PageSize] = None, @@ -174,7 +174,7 @@ def list_linked_objects( :param artifact_repository: artifactRepository :type artifact_repository: Optional[ArtifactRepositoryRid] :param exclude_rid: excludeRid - :type exclude_rid: Optional[pydantic.StrictBool] + :type exclude_rid: Optional[bool] :param order_by: orderBy :type order_by: Optional[OrderBy] :param package_name: packageName @@ -231,7 +231,7 @@ def page_linked_objects( link_type: LinkTypeApiName, *, artifact_repository: Optional[ArtifactRepositoryRid] = None, - exclude_rid: Optional[pydantic.StrictBool] = None, + exclude_rid: Optional[bool] = None, order_by: Optional[OrderBy] = None, package_name: Optional[SdkPackageName] = None, page_size: Optional[PageSize] = None, @@ -267,7 +267,7 @@ def page_linked_objects( :param artifact_repository: artifactRepository :type artifact_repository: Optional[ArtifactRepositoryRid] :param exclude_rid: excludeRid - :type exclude_rid: Optional[pydantic.StrictBool] + :type exclude_rid: Optional[bool] :param order_by: orderBy :type order_by: Optional[OrderBy] :param package_name: packageName diff --git a/foundry/v2/ontologies/models/_action_parameter_v2.py b/foundry/v2/ontologies/models/_action_parameter_v2.py index 7189928a..cdeb3679 100644 --- a/foundry/v2/ontologies/models/_action_parameter_v2.py +++ b/foundry/v2/ontologies/models/_action_parameter_v2.py @@ -27,11 +27,11 @@ class ActionParameterV2(pydantic.BaseModel): """Details about a parameter of an action.""" - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None data_type: ActionParameterType = pydantic.Field(alias="dataType") - required: pydantic.StrictBool + required: bool model_config = {"extra": "allow"} diff --git a/foundry/v2/ontologies/models/_action_parameter_v2_dict.py b/foundry/v2/ontologies/models/_action_parameter_v2_dict.py index 6feab6d8..16e5955d 100644 --- a/foundry/v2/ontologies/models/_action_parameter_v2_dict.py +++ b/foundry/v2/ontologies/models/_action_parameter_v2_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -27,8 +26,8 @@ class ActionParameterV2Dict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] dataType: ActionParameterTypeDict - required: pydantic.StrictBool + required: bool diff --git a/foundry/v2/ontologies/models/_action_type_api_name.py b/foundry/v2/ontologies/models/_action_type_api_name.py index af775f16..6efb3728 100644 --- a/foundry/v2/ontologies/models/_action_type_api_name.py +++ b/foundry/v2/ontologies/models/_action_type_api_name.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -ActionTypeApiName = pydantic.StrictStr +ActionTypeApiName = str """ The name of the action type in the API. To find the API name for your Action Type, use the `List action types` endpoint or check the **Ontology Manager**. diff --git a/foundry/v2/ontologies/models/_action_type_v2.py b/foundry/v2/ontologies/models/_action_type_v2.py index fd42bf1b..01c9fe15 100644 --- a/foundry/v2/ontologies/models/_action_type_v2.py +++ b/foundry/v2/ontologies/models/_action_type_v2.py @@ -37,7 +37,7 @@ class ActionTypeV2(pydantic.BaseModel): api_name: ActionTypeApiName = pydantic.Field(alias="apiName") - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None display_name: Optional[DisplayName] = pydantic.Field(alias="displayName", default=None) diff --git a/foundry/v2/ontologies/models/_action_type_v2_dict.py b/foundry/v2/ontologies/models/_action_type_v2_dict.py index 7d1c1b85..2e8e378a 100644 --- a/foundry/v2/ontologies/models/_action_type_v2_dict.py +++ b/foundry/v2/ontologies/models/_action_type_v2_dict.py @@ -18,7 +18,6 @@ from typing import Dict from typing import List -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -38,7 +37,7 @@ class ActionTypeV2Dict(TypedDict): apiName: ActionTypeApiName - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] displayName: NotRequired[DisplayName] diff --git a/foundry/v2/ontologies/models/_aggregate_objects_response_v2.py b/foundry/v2/ontologies/models/_aggregate_objects_response_v2.py index 625afd26..06b9fc1e 100644 --- a/foundry/v2/ontologies/models/_aggregate_objects_response_v2.py +++ b/foundry/v2/ontologies/models/_aggregate_objects_response_v2.py @@ -33,9 +33,7 @@ class AggregateObjectsResponseV2(pydantic.BaseModel): """AggregateObjectsResponseV2""" - excluded_items: Optional[pydantic.StrictInt] = pydantic.Field( - alias="excludedItems", default=None - ) + excluded_items: Optional[int] = pydantic.Field(alias="excludedItems", default=None) accuracy: AggregationAccuracy diff --git a/foundry/v2/ontologies/models/_aggregate_objects_response_v2_dict.py b/foundry/v2/ontologies/models/_aggregate_objects_response_v2_dict.py index a5d64885..843db32f 100644 --- a/foundry/v2/ontologies/models/_aggregate_objects_response_v2_dict.py +++ b/foundry/v2/ontologies/models/_aggregate_objects_response_v2_dict.py @@ -17,7 +17,6 @@ from typing import List -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -32,7 +31,7 @@ class AggregateObjectsResponseV2Dict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - excludedItems: NotRequired[pydantic.StrictInt] + excludedItems: NotRequired[int] accuracy: AggregationAccuracy diff --git a/foundry/v2/ontologies/models/_aggregation_duration_grouping_v2_dict.py b/foundry/v2/ontologies/models/_aggregation_duration_grouping_v2_dict.py index 42033dfb..c3abd3cb 100644 --- a/foundry/v2/ontologies/models/_aggregation_duration_grouping_v2_dict.py +++ b/foundry/v2/ontologies/models/_aggregation_duration_grouping_v2_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict from foundry.v2.core.models._time_unit import TimeUnit @@ -34,7 +33,7 @@ class AggregationDurationGroupingV2Dict(TypedDict): field: PropertyApiName - value: pydantic.StrictInt + value: int unit: TimeUnit diff --git a/foundry/v2/ontologies/models/_aggregation_exact_grouping_v2_dict.py b/foundry/v2/ontologies/models/_aggregation_exact_grouping_v2_dict.py index 36488b34..5c88f1e0 100644 --- a/foundry/v2/ontologies/models/_aggregation_exact_grouping_v2_dict.py +++ b/foundry/v2/ontologies/models/_aggregation_exact_grouping_v2_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -31,6 +30,6 @@ class AggregationExactGroupingV2Dict(TypedDict): field: PropertyApiName - maxGroupCount: NotRequired[pydantic.StrictInt] + maxGroupCount: NotRequired[int] type: Literal["exact"] diff --git a/foundry/v2/ontologies/models/_aggregation_fixed_width_grouping_v2_dict.py b/foundry/v2/ontologies/models/_aggregation_fixed_width_grouping_v2_dict.py index c7c59021..4e766dc7 100644 --- a/foundry/v2/ontologies/models/_aggregation_fixed_width_grouping_v2_dict.py +++ b/foundry/v2/ontologies/models/_aggregation_fixed_width_grouping_v2_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict from foundry.v2.ontologies.models._property_api_name import PropertyApiName @@ -30,6 +29,6 @@ class AggregationFixedWidthGroupingV2Dict(TypedDict): field: PropertyApiName - fixedWidth: pydantic.StrictInt + fixedWidth: int type: Literal["fixedWidth"] diff --git a/foundry/v2/ontologies/models/_aggregation_group_key_v2.py b/foundry/v2/ontologies/models/_aggregation_group_key_v2.py index b4452800..80c952b4 100644 --- a/foundry/v2/ontologies/models/_aggregation_group_key_v2.py +++ b/foundry/v2/ontologies/models/_aggregation_group_key_v2.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -AggregationGroupKeyV2 = pydantic.StrictStr +AggregationGroupKeyV2 = str """AggregationGroupKeyV2""" diff --git a/foundry/v2/ontologies/models/_aggregation_metric_name.py b/foundry/v2/ontologies/models/_aggregation_metric_name.py index f6908f24..27960aee 100644 --- a/foundry/v2/ontologies/models/_aggregation_metric_name.py +++ b/foundry/v2/ontologies/models/_aggregation_metric_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -AggregationMetricName = pydantic.StrictStr +AggregationMetricName = str """A user-specified alias for an aggregation metric name.""" diff --git a/foundry/v2/ontologies/models/_aggregation_metric_result_v2.py b/foundry/v2/ontologies/models/_aggregation_metric_result_v2.py index 2b759ffa..c87f5144 100644 --- a/foundry/v2/ontologies/models/_aggregation_metric_result_v2.py +++ b/foundry/v2/ontologies/models/_aggregation_metric_result_v2.py @@ -29,7 +29,7 @@ class AggregationMetricResultV2(pydantic.BaseModel): """AggregationMetricResultV2""" - name: pydantic.StrictStr + name: str value: Optional[Any] = None diff --git a/foundry/v2/ontologies/models/_aggregation_metric_result_v2_dict.py b/foundry/v2/ontologies/models/_aggregation_metric_result_v2_dict.py index cdc6aa5a..92a61a52 100644 --- a/foundry/v2/ontologies/models/_aggregation_metric_result_v2_dict.py +++ b/foundry/v2/ontologies/models/_aggregation_metric_result_v2_dict.py @@ -17,7 +17,6 @@ from typing import Any -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -27,7 +26,7 @@ class AggregationMetricResultV2Dict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - name: pydantic.StrictStr + name: str value: NotRequired[Any] """ diff --git a/foundry/v2/ontologies/models/_approximate_percentile_aggregation_v2_dict.py b/foundry/v2/ontologies/models/_approximate_percentile_aggregation_v2_dict.py index 44b8f29e..44a8663b 100644 --- a/foundry/v2/ontologies/models/_approximate_percentile_aggregation_v2_dict.py +++ b/foundry/v2/ontologies/models/_approximate_percentile_aggregation_v2_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -35,7 +34,7 @@ class ApproximatePercentileAggregationV2Dict(TypedDict): name: NotRequired[AggregationMetricName] - approximatePercentile: pydantic.StrictFloat + approximatePercentile: float direction: NotRequired[OrderByDirection] diff --git a/foundry/v2/ontologies/models/_blueprint_icon.py b/foundry/v2/ontologies/models/_blueprint_icon.py index 8bbed8e8..10e151a4 100644 --- a/foundry/v2/ontologies/models/_blueprint_icon.py +++ b/foundry/v2/ontologies/models/_blueprint_icon.py @@ -26,11 +26,11 @@ class BlueprintIcon(pydantic.BaseModel): """BlueprintIcon""" - color: pydantic.StrictStr + color: str """A hexadecimal color code.""" - name: pydantic.StrictStr + name: str """ The [name](https://blueprintjs.com/docs/#icons/icons-list) of the Blueprint icon. diff --git a/foundry/v2/ontologies/models/_blueprint_icon_dict.py b/foundry/v2/ontologies/models/_blueprint_icon_dict.py index 8d82648d..43ef181a 100644 --- a/foundry/v2/ontologies/models/_blueprint_icon_dict.py +++ b/foundry/v2/ontologies/models/_blueprint_icon_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,10 +25,10 @@ class BlueprintIconDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - color: pydantic.StrictStr + color: str """A hexadecimal color code.""" - name: pydantic.StrictStr + name: str """ The [name](https://blueprintjs.com/docs/#icons/icons-list) of the Blueprint icon. Used to specify the Blueprint icon to represent the object type in a React app. diff --git a/foundry/v2/ontologies/models/_contains_all_terms_in_order_prefix_last_term.py b/foundry/v2/ontologies/models/_contains_all_terms_in_order_prefix_last_term.py index 299cac48..3b08628f 100644 --- a/foundry/v2/ontologies/models/_contains_all_terms_in_order_prefix_last_term.py +++ b/foundry/v2/ontologies/models/_contains_all_terms_in_order_prefix_last_term.py @@ -35,7 +35,7 @@ class ContainsAllTermsInOrderPrefixLastTerm(pydantic.BaseModel): field: PropertyApiName - value: pydantic.StrictStr + value: str type: Literal["containsAllTermsInOrderPrefixLastTerm"] = "containsAllTermsInOrderPrefixLastTerm" diff --git a/foundry/v2/ontologies/models/_contains_all_terms_in_order_prefix_last_term_dict.py b/foundry/v2/ontologies/models/_contains_all_terms_in_order_prefix_last_term_dict.py index fe215fd5..bf17d31f 100644 --- a/foundry/v2/ontologies/models/_contains_all_terms_in_order_prefix_last_term_dict.py +++ b/foundry/v2/ontologies/models/_contains_all_terms_in_order_prefix_last_term_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict from foundry.v2.ontologies.models._property_api_name import PropertyApiName @@ -34,6 +33,6 @@ class ContainsAllTermsInOrderPrefixLastTermDict(TypedDict): field: PropertyApiName - value: pydantic.StrictStr + value: str type: Literal["containsAllTermsInOrderPrefixLastTerm"] diff --git a/foundry/v2/ontologies/models/_contains_all_terms_in_order_query.py b/foundry/v2/ontologies/models/_contains_all_terms_in_order_query.py index 09e19d84..1d606523 100644 --- a/foundry/v2/ontologies/models/_contains_all_terms_in_order_query.py +++ b/foundry/v2/ontologies/models/_contains_all_terms_in_order_query.py @@ -34,7 +34,7 @@ class ContainsAllTermsInOrderQuery(pydantic.BaseModel): field: PropertyApiName - value: pydantic.StrictStr + value: str type: Literal["containsAllTermsInOrder"] = "containsAllTermsInOrder" diff --git a/foundry/v2/ontologies/models/_contains_all_terms_in_order_query_dict.py b/foundry/v2/ontologies/models/_contains_all_terms_in_order_query_dict.py index 23e1a18f..ae7ab71f 100644 --- a/foundry/v2/ontologies/models/_contains_all_terms_in_order_query_dict.py +++ b/foundry/v2/ontologies/models/_contains_all_terms_in_order_query_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict from foundry.v2.ontologies.models._property_api_name import PropertyApiName @@ -33,6 +32,6 @@ class ContainsAllTermsInOrderQueryDict(TypedDict): field: PropertyApiName - value: pydantic.StrictStr + value: str type: Literal["containsAllTermsInOrder"] diff --git a/foundry/v2/ontologies/models/_contains_all_terms_query.py b/foundry/v2/ontologies/models/_contains_all_terms_query.py index de290235..74f3ff14 100644 --- a/foundry/v2/ontologies/models/_contains_all_terms_query.py +++ b/foundry/v2/ontologies/models/_contains_all_terms_query.py @@ -36,7 +36,7 @@ class ContainsAllTermsQuery(pydantic.BaseModel): field: PropertyApiName - value: pydantic.StrictStr + value: str fuzzy: Optional[FuzzyV2] = None diff --git a/foundry/v2/ontologies/models/_contains_all_terms_query_dict.py b/foundry/v2/ontologies/models/_contains_all_terms_query_dict.py index c12276a0..befa847a 100644 --- a/foundry/v2/ontologies/models/_contains_all_terms_query_dict.py +++ b/foundry/v2/ontologies/models/_contains_all_terms_query_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -35,7 +34,7 @@ class ContainsAllTermsQueryDict(TypedDict): field: PropertyApiName - value: pydantic.StrictStr + value: str fuzzy: NotRequired[FuzzyV2] diff --git a/foundry/v2/ontologies/models/_contains_any_term_query.py b/foundry/v2/ontologies/models/_contains_any_term_query.py index 011e258c..81340589 100644 --- a/foundry/v2/ontologies/models/_contains_any_term_query.py +++ b/foundry/v2/ontologies/models/_contains_any_term_query.py @@ -36,7 +36,7 @@ class ContainsAnyTermQuery(pydantic.BaseModel): field: PropertyApiName - value: pydantic.StrictStr + value: str fuzzy: Optional[FuzzyV2] = None diff --git a/foundry/v2/ontologies/models/_contains_any_term_query_dict.py b/foundry/v2/ontologies/models/_contains_any_term_query_dict.py index be1121d4..f4098f34 100644 --- a/foundry/v2/ontologies/models/_contains_any_term_query_dict.py +++ b/foundry/v2/ontologies/models/_contains_any_term_query_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -35,7 +34,7 @@ class ContainsAnyTermQueryDict(TypedDict): field: PropertyApiName - value: pydantic.StrictStr + value: str fuzzy: NotRequired[FuzzyV2] diff --git a/foundry/v2/ontologies/models/_count_objects_response_v2.py b/foundry/v2/ontologies/models/_count_objects_response_v2.py index bb67d497..a4f151e9 100644 --- a/foundry/v2/ontologies/models/_count_objects_response_v2.py +++ b/foundry/v2/ontologies/models/_count_objects_response_v2.py @@ -28,7 +28,7 @@ class CountObjectsResponseV2(pydantic.BaseModel): """CountObjectsResponseV2""" - count: Optional[pydantic.StrictInt] = None + count: Optional[int] = None model_config = {"extra": "allow"} diff --git a/foundry/v2/ontologies/models/_count_objects_response_v2_dict.py b/foundry/v2/ontologies/models/_count_objects_response_v2_dict.py index 8aaa1ce2..4767a6e7 100644 --- a/foundry/v2/ontologies/models/_count_objects_response_v2_dict.py +++ b/foundry/v2/ontologies/models/_count_objects_response_v2_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -25,4 +24,4 @@ class CountObjectsResponseV2Dict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - count: NotRequired[pydantic.StrictInt] + count: NotRequired[int] diff --git a/foundry/v2/ontologies/models/_deprecated_property_type_status.py b/foundry/v2/ontologies/models/_deprecated_property_type_status.py index 14030134..d3c0d5d6 100644 --- a/foundry/v2/ontologies/models/_deprecated_property_type_status.py +++ b/foundry/v2/ontologies/models/_deprecated_property_type_status.py @@ -34,7 +34,7 @@ class DeprecatedPropertyTypeStatus(pydantic.BaseModel): deadline specified. """ - message: pydantic.StrictStr + message: str deadline: datetime diff --git a/foundry/v2/ontologies/models/_deprecated_property_type_status_dict.py b/foundry/v2/ontologies/models/_deprecated_property_type_status_dict.py index b8b22734..bc56daaf 100644 --- a/foundry/v2/ontologies/models/_deprecated_property_type_status_dict.py +++ b/foundry/v2/ontologies/models/_deprecated_property_type_status_dict.py @@ -18,7 +18,6 @@ from datetime import datetime from typing import Literal -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -33,7 +32,7 @@ class DeprecatedPropertyTypeStatusDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - message: pydantic.StrictStr + message: str deadline: datetime diff --git a/foundry/v2/ontologies/models/_function_version.py b/foundry/v2/ontologies/models/_function_version.py index e0038a52..85cf61ce 100644 --- a/foundry/v2/ontologies/models/_function_version.py +++ b/foundry/v2/ontologies/models/_function_version.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -FunctionVersion = pydantic.StrictStr +FunctionVersion = str """ The version of the given Function, written `..-`, where `-` is optional. Examples: `1.2.3`, `1.2.3-rc1`. diff --git a/foundry/v2/ontologies/models/_fuzzy_v2.py b/foundry/v2/ontologies/models/_fuzzy_v2.py index 7cfd1dc7..40abfd99 100644 --- a/foundry/v2/ontologies/models/_fuzzy_v2.py +++ b/foundry/v2/ontologies/models/_fuzzy_v2.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -FuzzyV2 = pydantic.StrictBool +FuzzyV2 = bool """Setting fuzzy to `true` allows approximate matching in search queries that support it.""" diff --git a/foundry/v2/ontologies/models/_interface_link_type.py b/foundry/v2/ontologies/models/_interface_link_type.py index ee8116da..b34086bc 100644 --- a/foundry/v2/ontologies/models/_interface_link_type.py +++ b/foundry/v2/ontologies/models/_interface_link_type.py @@ -46,7 +46,7 @@ class InterfaceLinkType(pydantic.BaseModel): display_name: DisplayName = pydantic.Field(alias="displayName") - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None """The description of the interface link type.""" @@ -56,7 +56,7 @@ class InterfaceLinkType(pydantic.BaseModel): cardinality: InterfaceLinkTypeCardinality - required: pydantic.StrictBool + required: bool """Whether each implementing object type must declare at least one implementation of this link.""" diff --git a/foundry/v2/ontologies/models/_interface_link_type_api_name.py b/foundry/v2/ontologies/models/_interface_link_type_api_name.py index 4fdf9b46..f6d2db53 100644 --- a/foundry/v2/ontologies/models/_interface_link_type_api_name.py +++ b/foundry/v2/ontologies/models/_interface_link_type_api_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -InterfaceLinkTypeApiName = pydantic.StrictStr +InterfaceLinkTypeApiName = str """A string indicating the API name to use for the interface link.""" diff --git a/foundry/v2/ontologies/models/_interface_link_type_dict.py b/foundry/v2/ontologies/models/_interface_link_type_dict.py index 7af2c9b5..f5a7ec3d 100644 --- a/foundry/v2/ontologies/models/_interface_link_type_dict.py +++ b/foundry/v2/ontologies/models/_interface_link_type_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -46,12 +45,12 @@ class InterfaceLinkTypeDict(TypedDict): displayName: DisplayName - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] """The description of the interface link type.""" linkedEntityApiName: InterfaceLinkTypeLinkedEntityApiNameDict cardinality: InterfaceLinkTypeCardinality - required: pydantic.StrictBool + required: bool """Whether each implementing object type must declare at least one implementation of this link.""" diff --git a/foundry/v2/ontologies/models/_interface_type.py b/foundry/v2/ontologies/models/_interface_type.py index c1abf63c..b5b18446 100644 --- a/foundry/v2/ontologies/models/_interface_type.py +++ b/foundry/v2/ontologies/models/_interface_type.py @@ -46,7 +46,7 @@ class InterfaceType(pydantic.BaseModel): display_name: DisplayName = pydantic.Field(alias="displayName") - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None """The description of the interface.""" diff --git a/foundry/v2/ontologies/models/_interface_type_api_name.py b/foundry/v2/ontologies/models/_interface_type_api_name.py index 71963298..59421c79 100644 --- a/foundry/v2/ontologies/models/_interface_type_api_name.py +++ b/foundry/v2/ontologies/models/_interface_type_api_name.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -InterfaceTypeApiName = pydantic.StrictStr +InterfaceTypeApiName = str """ The name of the interface type in the API in UpperCamelCase format. To find the API name for your interface type, use the `List interface types` endpoint or check the **Ontology Manager**. diff --git a/foundry/v2/ontologies/models/_interface_type_dict.py b/foundry/v2/ontologies/models/_interface_type_dict.py index 1cd4b1a7..22f6cc7a 100644 --- a/foundry/v2/ontologies/models/_interface_type_dict.py +++ b/foundry/v2/ontologies/models/_interface_type_dict.py @@ -18,7 +18,6 @@ from typing import Dict from typing import List -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -47,7 +46,7 @@ class InterfaceTypeDict(TypedDict): displayName: DisplayName - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] """The description of the interface.""" properties: Dict[SharedPropertyTypeApiName, SharedPropertyTypeDict] diff --git a/foundry/v2/ontologies/models/_is_null_query_v2.py b/foundry/v2/ontologies/models/_is_null_query_v2.py index 7f4d996f..89838ade 100644 --- a/foundry/v2/ontologies/models/_is_null_query_v2.py +++ b/foundry/v2/ontologies/models/_is_null_query_v2.py @@ -29,7 +29,7 @@ class IsNullQueryV2(pydantic.BaseModel): field: PropertyApiName - value: pydantic.StrictBool + value: bool type: Literal["isNull"] = "isNull" diff --git a/foundry/v2/ontologies/models/_is_null_query_v2_dict.py b/foundry/v2/ontologies/models/_is_null_query_v2_dict.py index 920ecc0b..2379f3d9 100644 --- a/foundry/v2/ontologies/models/_is_null_query_v2_dict.py +++ b/foundry/v2/ontologies/models/_is_null_query_v2_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict from foundry.v2.ontologies.models._property_api_name import PropertyApiName @@ -30,6 +29,6 @@ class IsNullQueryV2Dict(TypedDict): field: PropertyApiName - value: pydantic.StrictBool + value: bool type: Literal["isNull"] diff --git a/foundry/v2/ontologies/models/_link_type_api_name.py b/foundry/v2/ontologies/models/_link_type_api_name.py index 07a27223..80874481 100644 --- a/foundry/v2/ontologies/models/_link_type_api_name.py +++ b/foundry/v2/ontologies/models/_link_type_api_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -LinkTypeApiName = pydantic.StrictStr +LinkTypeApiName = str """The name of the link type in the API. To find the API name for your Link Type, check the [Ontology Manager](/docs/foundry/ontology-manager/overview/).""" diff --git a/foundry/v2/ontologies/models/_object_edits.py b/foundry/v2/ontologies/models/_object_edits.py index d302053d..06bdc8f7 100644 --- a/foundry/v2/ontologies/models/_object_edits.py +++ b/foundry/v2/ontologies/models/_object_edits.py @@ -30,15 +30,15 @@ class ObjectEdits(pydantic.BaseModel): edits: List[ObjectEdit] - added_object_count: pydantic.StrictInt = pydantic.Field(alias="addedObjectCount") + added_object_count: int = pydantic.Field(alias="addedObjectCount") - modified_objects_count: pydantic.StrictInt = pydantic.Field(alias="modifiedObjectsCount") + modified_objects_count: int = pydantic.Field(alias="modifiedObjectsCount") - deleted_objects_count: pydantic.StrictInt = pydantic.Field(alias="deletedObjectsCount") + deleted_objects_count: int = pydantic.Field(alias="deletedObjectsCount") - added_links_count: pydantic.StrictInt = pydantic.Field(alias="addedLinksCount") + added_links_count: int = pydantic.Field(alias="addedLinksCount") - deleted_links_count: pydantic.StrictInt = pydantic.Field(alias="deletedLinksCount") + deleted_links_count: int = pydantic.Field(alias="deletedLinksCount") type: Literal["edits"] = "edits" diff --git a/foundry/v2/ontologies/models/_object_edits_dict.py b/foundry/v2/ontologies/models/_object_edits_dict.py index 102a7b42..f8b9a191 100644 --- a/foundry/v2/ontologies/models/_object_edits_dict.py +++ b/foundry/v2/ontologies/models/_object_edits_dict.py @@ -18,7 +18,6 @@ from typing import List from typing import Literal -import pydantic from typing_extensions import TypedDict from foundry.v2.ontologies.models._object_edit_dict import ObjectEditDict @@ -31,14 +30,14 @@ class ObjectEditsDict(TypedDict): edits: List[ObjectEditDict] - addedObjectCount: pydantic.StrictInt + addedObjectCount: int - modifiedObjectsCount: pydantic.StrictInt + modifiedObjectsCount: int - deletedObjectsCount: pydantic.StrictInt + deletedObjectsCount: int - addedLinksCount: pydantic.StrictInt + addedLinksCount: int - deletedLinksCount: pydantic.StrictInt + deletedLinksCount: int type: Literal["edits"] diff --git a/foundry/v2/ontologies/models/_object_set_base_type.py b/foundry/v2/ontologies/models/_object_set_base_type.py index 0914b27c..0c2ede27 100644 --- a/foundry/v2/ontologies/models/_object_set_base_type.py +++ b/foundry/v2/ontologies/models/_object_set_base_type.py @@ -26,7 +26,7 @@ class ObjectSetBaseType(pydantic.BaseModel): """ObjectSetBaseType""" - object_type: pydantic.StrictStr = pydantic.Field(alias="objectType") + object_type: str = pydantic.Field(alias="objectType") """The API name of the object type.""" diff --git a/foundry/v2/ontologies/models/_object_set_base_type_dict.py b/foundry/v2/ontologies/models/_object_set_base_type_dict.py index 64577d94..0f39af1f 100644 --- a/foundry/v2/ontologies/models/_object_set_base_type_dict.py +++ b/foundry/v2/ontologies/models/_object_set_base_type_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict @@ -26,7 +25,7 @@ class ObjectSetBaseTypeDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - objectType: pydantic.StrictStr + objectType: str """The API name of the object type.""" type: Literal["base"] diff --git a/foundry/v2/ontologies/models/_object_type_api_name.py b/foundry/v2/ontologies/models/_object_type_api_name.py index 6c313d6f..8ffe60ed 100644 --- a/foundry/v2/ontologies/models/_object_type_api_name.py +++ b/foundry/v2/ontologies/models/_object_type_api_name.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -ObjectTypeApiName = pydantic.StrictStr +ObjectTypeApiName = str """ The name of the object type in the API in camelCase format. To find the API name for your Object Type, use the `List object types` endpoint or check the **Ontology Manager**. diff --git a/foundry/v2/ontologies/models/_object_type_id.py b/foundry/v2/ontologies/models/_object_type_id.py index 0aabe2e0..968e6b3e 100644 --- a/foundry/v2/ontologies/models/_object_type_id.py +++ b/foundry/v2/ontologies/models/_object_type_id.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -ObjectTypeId = pydantic.StrictStr +ObjectTypeId = str """The unique identifier (ID) for an object type. This can be viewed in [Ontology Manager](/docs/foundry/ontology-manager/overview/).""" diff --git a/foundry/v2/ontologies/models/_object_type_v2.py b/foundry/v2/ontologies/models/_object_type_v2.py index b8e6ce6b..966093c2 100644 --- a/foundry/v2/ontologies/models/_object_type_v2.py +++ b/foundry/v2/ontologies/models/_object_type_v2.py @@ -41,11 +41,11 @@ class ObjectTypeV2(pydantic.BaseModel): status: ReleaseStatus - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None """The description of the object type.""" - plural_display_name: pydantic.StrictStr = pydantic.Field(alias="pluralDisplayName") + plural_display_name: str = pydantic.Field(alias="pluralDisplayName") """The plural display name of the object type.""" diff --git a/foundry/v2/ontologies/models/_object_type_v2_dict.py b/foundry/v2/ontologies/models/_object_type_v2_dict.py index a2c40375..58512d42 100644 --- a/foundry/v2/ontologies/models/_object_type_v2_dict.py +++ b/foundry/v2/ontologies/models/_object_type_v2_dict.py @@ -17,7 +17,6 @@ from typing import Dict -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -42,10 +41,10 @@ class ObjectTypeV2Dict(TypedDict): status: ReleaseStatus - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] """The description of the object type.""" - pluralDisplayName: pydantic.StrictStr + pluralDisplayName: str """The plural display name of the object type.""" icon: IconDict diff --git a/foundry/v2/ontologies/models/_one_of_constraint.py b/foundry/v2/ontologies/models/_one_of_constraint.py index be16effd..a7d16159 100644 --- a/foundry/v2/ontologies/models/_one_of_constraint.py +++ b/foundry/v2/ontologies/models/_one_of_constraint.py @@ -30,7 +30,7 @@ class OneOfConstraint(pydantic.BaseModel): options: List[ParameterOption] - other_values_allowed: pydantic.StrictBool = pydantic.Field(alias="otherValuesAllowed") + other_values_allowed: bool = pydantic.Field(alias="otherValuesAllowed") """A flag denoting whether custom, user provided values will be considered valid. This is configured via the **Allowed "Other" value** toggle in the **Ontology Manager**.""" diff --git a/foundry/v2/ontologies/models/_one_of_constraint_dict.py b/foundry/v2/ontologies/models/_one_of_constraint_dict.py index a23ff84c..9a6b30f6 100644 --- a/foundry/v2/ontologies/models/_one_of_constraint_dict.py +++ b/foundry/v2/ontologies/models/_one_of_constraint_dict.py @@ -18,7 +18,6 @@ from typing import List from typing import Literal -import pydantic from typing_extensions import TypedDict from foundry.v2.ontologies.models._parameter_option_dict import ParameterOptionDict @@ -31,7 +30,7 @@ class OneOfConstraintDict(TypedDict): options: List[ParameterOptionDict] - otherValuesAllowed: pydantic.StrictBool + otherValuesAllowed: bool """A flag denoting whether custom, user provided values will be considered valid. This is configured via the **Allowed "Other" value** toggle in the **Ontology Manager**.""" type: Literal["oneOf"] diff --git a/foundry/v2/ontologies/models/_ontology_api_name.py b/foundry/v2/ontologies/models/_ontology_api_name.py index e4546e36..be130e92 100644 --- a/foundry/v2/ontologies/models/_ontology_api_name.py +++ b/foundry/v2/ontologies/models/_ontology_api_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -OntologyApiName = pydantic.StrictStr +OntologyApiName = str """OntologyApiName""" diff --git a/foundry/v2/ontologies/models/_ontology_identifier.py b/foundry/v2/ontologies/models/_ontology_identifier.py index 6c94ad0e..b4728e5b 100644 --- a/foundry/v2/ontologies/models/_ontology_identifier.py +++ b/foundry/v2/ontologies/models/_ontology_identifier.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -OntologyIdentifier = pydantic.StrictStr +OntologyIdentifier = str """Either an ontology RID or an ontology API name.""" diff --git a/foundry/v2/ontologies/models/_ontology_v2.py b/foundry/v2/ontologies/models/_ontology_v2.py index 0937e97e..ee5546b0 100644 --- a/foundry/v2/ontologies/models/_ontology_v2.py +++ b/foundry/v2/ontologies/models/_ontology_v2.py @@ -32,7 +32,7 @@ class OntologyV2(pydantic.BaseModel): display_name: DisplayName = pydantic.Field(alias="displayName") - description: pydantic.StrictStr + description: str rid: OntologyRid diff --git a/foundry/v2/ontologies/models/_ontology_v2_dict.py b/foundry/v2/ontologies/models/_ontology_v2_dict.py index ddfba377..433a33aa 100644 --- a/foundry/v2/ontologies/models/_ontology_v2_dict.py +++ b/foundry/v2/ontologies/models/_ontology_v2_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import TypedDict from foundry.v2.core.models._display_name import DisplayName @@ -32,6 +31,6 @@ class OntologyV2Dict(TypedDict): displayName: DisplayName - description: pydantic.StrictStr + description: str rid: OntologyRid diff --git a/foundry/v2/ontologies/models/_order_by.py b/foundry/v2/ontologies/models/_order_by.py index 91e50911..9573e01e 100644 --- a/foundry/v2/ontologies/models/_order_by.py +++ b/foundry/v2/ontologies/models/_order_by.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -OrderBy = pydantic.StrictStr +OrderBy = str """ A command representing the list of properties to order by. Properties should be delimited by commas and prefixed by `p` or `properties`. The format expected format is diff --git a/foundry/v2/ontologies/models/_parameter_evaluation_result.py b/foundry/v2/ontologies/models/_parameter_evaluation_result.py index dcbf9695..e390766c 100644 --- a/foundry/v2/ontologies/models/_parameter_evaluation_result.py +++ b/foundry/v2/ontologies/models/_parameter_evaluation_result.py @@ -38,7 +38,7 @@ class ParameterEvaluationResult(pydantic.BaseModel): alias="evaluatedConstraints" ) - required: pydantic.StrictBool + required: bool """Represents whether the parameter is a required input to the action.""" diff --git a/foundry/v2/ontologies/models/_parameter_evaluation_result_dict.py b/foundry/v2/ontologies/models/_parameter_evaluation_result_dict.py index bbbe69f2..9405ba4b 100644 --- a/foundry/v2/ontologies/models/_parameter_evaluation_result_dict.py +++ b/foundry/v2/ontologies/models/_parameter_evaluation_result_dict.py @@ -17,7 +17,6 @@ from typing import List -import pydantic from typing_extensions import TypedDict from foundry.v2.ontologies.models._parameter_evaluated_constraint_dict import ( @@ -35,5 +34,5 @@ class ParameterEvaluationResultDict(TypedDict): evaluatedConstraints: List[ParameterEvaluatedConstraintDict] - required: pydantic.StrictBool + required: bool """Represents whether the parameter is a required input to the action.""" diff --git a/foundry/v2/ontologies/models/_parameter_id.py b/foundry/v2/ontologies/models/_parameter_id.py index 685d7e59..70d828b7 100644 --- a/foundry/v2/ontologies/models/_parameter_id.py +++ b/foundry/v2/ontologies/models/_parameter_id.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -ParameterId = pydantic.StrictStr +ParameterId = str """ The unique identifier of the parameter. Parameters are used as inputs when an action or query is applied. Parameters can be viewed and managed in the **Ontology Manager**. diff --git a/foundry/v2/ontologies/models/_property_api_name.py b/foundry/v2/ontologies/models/_property_api_name.py index 2767f2bc..2113c813 100644 --- a/foundry/v2/ontologies/models/_property_api_name.py +++ b/foundry/v2/ontologies/models/_property_api_name.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -PropertyApiName = pydantic.StrictStr +PropertyApiName = str """ The name of the property in the API. To find the API name for your property, use the `Get object type` endpoint or check the [Ontology Manager](/docs/foundry/ontology-manager/overview/). diff --git a/foundry/v2/ontologies/models/_property_v2.py b/foundry/v2/ontologies/models/_property_v2.py index 4e683791..ab12af62 100644 --- a/foundry/v2/ontologies/models/_property_v2.py +++ b/foundry/v2/ontologies/models/_property_v2.py @@ -31,7 +31,7 @@ class PropertyV2(pydantic.BaseModel): """Details about some property of an object.""" - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None display_name: Optional[DisplayName] = pydantic.Field(alias="displayName", default=None) diff --git a/foundry/v2/ontologies/models/_property_v2_dict.py b/foundry/v2/ontologies/models/_property_v2_dict.py index a6c6bcc2..5dbb6e74 100644 --- a/foundry/v2/ontologies/models/_property_v2_dict.py +++ b/foundry/v2/ontologies/models/_property_v2_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -31,7 +30,7 @@ class PropertyV2Dict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] displayName: NotRequired[DisplayName] diff --git a/foundry/v2/ontologies/models/_property_value_escaped_string.py b/foundry/v2/ontologies/models/_property_value_escaped_string.py index 3211d2bd..3a0c778a 100644 --- a/foundry/v2/ontologies/models/_property_value_escaped_string.py +++ b/foundry/v2/ontologies/models/_property_value_escaped_string.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -PropertyValueEscapedString = pydantic.StrictStr +PropertyValueEscapedString = str """Represents the value of a property in string format. This is used in URL parameters.""" diff --git a/foundry/v2/ontologies/models/_query_api_name.py b/foundry/v2/ontologies/models/_query_api_name.py index 05ca63a3..74ecf62f 100644 --- a/foundry/v2/ontologies/models/_query_api_name.py +++ b/foundry/v2/ontologies/models/_query_api_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -QueryApiName = pydantic.StrictStr +QueryApiName = str """The name of the Query in the API.""" diff --git a/foundry/v2/ontologies/models/_query_parameter_v2.py b/foundry/v2/ontologies/models/_query_parameter_v2.py index e9c60706..ce6034aa 100644 --- a/foundry/v2/ontologies/models/_query_parameter_v2.py +++ b/foundry/v2/ontologies/models/_query_parameter_v2.py @@ -27,7 +27,7 @@ class QueryParameterV2(pydantic.BaseModel): """Details about a parameter of a query.""" - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None data_type: QueryDataType = pydantic.Field(alias="dataType") diff --git a/foundry/v2/ontologies/models/_query_parameter_v2_dict.py b/foundry/v2/ontologies/models/_query_parameter_v2_dict.py index 5bc24736..600550ca 100644 --- a/foundry/v2/ontologies/models/_query_parameter_v2_dict.py +++ b/foundry/v2/ontologies/models/_query_parameter_v2_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -27,6 +26,6 @@ class QueryParameterV2Dict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] dataType: QueryDataTypeDict diff --git a/foundry/v2/ontologies/models/_query_type_v2.py b/foundry/v2/ontologies/models/_query_type_v2.py index 0aadcdd0..828a7a5b 100644 --- a/foundry/v2/ontologies/models/_query_type_v2.py +++ b/foundry/v2/ontologies/models/_query_type_v2.py @@ -36,7 +36,7 @@ class QueryTypeV2(pydantic.BaseModel): api_name: QueryApiName = pydantic.Field(alias="apiName") - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None display_name: Optional[DisplayName] = pydantic.Field(alias="displayName", default=None) diff --git a/foundry/v2/ontologies/models/_query_type_v2_dict.py b/foundry/v2/ontologies/models/_query_type_v2_dict.py index d7944cf9..d99236ee 100644 --- a/foundry/v2/ontologies/models/_query_type_v2_dict.py +++ b/foundry/v2/ontologies/models/_query_type_v2_dict.py @@ -17,7 +17,6 @@ from typing import Dict -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -37,7 +36,7 @@ class QueryTypeV2Dict(TypedDict): apiName: QueryApiName - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] displayName: NotRequired[DisplayName] diff --git a/foundry/v2/ontologies/models/_relative_time_dict.py b/foundry/v2/ontologies/models/_relative_time_dict.py index a2acdcae..16968e5d 100644 --- a/foundry/v2/ontologies/models/_relative_time_dict.py +++ b/foundry/v2/ontologies/models/_relative_time_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import TypedDict from foundry.v2.ontologies.models._relative_time_relation import RelativeTimeRelation @@ -31,6 +30,6 @@ class RelativeTimeDict(TypedDict): when: RelativeTimeRelation - value: pydantic.StrictInt + value: int unit: RelativeTimeSeriesTimeUnit diff --git a/foundry/v2/ontologies/models/_sdk_package_name.py b/foundry/v2/ontologies/models/_sdk_package_name.py index 2e0421b8..38baf975 100644 --- a/foundry/v2/ontologies/models/_sdk_package_name.py +++ b/foundry/v2/ontologies/models/_sdk_package_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -SdkPackageName = pydantic.StrictStr +SdkPackageName = str """SdkPackageName""" diff --git a/foundry/v2/ontologies/models/_search_ordering_v2_dict.py b/foundry/v2/ontologies/models/_search_ordering_v2_dict.py index 80afee8e..87707c07 100644 --- a/foundry/v2/ontologies/models/_search_ordering_v2_dict.py +++ b/foundry/v2/ontologies/models/_search_ordering_v2_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -29,5 +28,5 @@ class SearchOrderingV2Dict(TypedDict): field: PropertyApiName - direction: NotRequired[pydantic.StrictStr] + direction: NotRequired[str] """Specifies the ordering direction (can be either `asc` or `desc`)""" diff --git a/foundry/v2/ontologies/models/_selected_property_api_name.py b/foundry/v2/ontologies/models/_selected_property_api_name.py index 8da9a339..f75be38c 100644 --- a/foundry/v2/ontologies/models/_selected_property_api_name.py +++ b/foundry/v2/ontologies/models/_selected_property_api_name.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -SelectedPropertyApiName = pydantic.StrictStr +SelectedPropertyApiName = str """ By default, anytime an object is requested, every property belonging to that object is returned. The response can be filtered to only include certain properties using the `properties` query parameter. diff --git a/foundry/v2/ontologies/models/_shared_property_type.py b/foundry/v2/ontologies/models/_shared_property_type.py index 03fb2d94..8d43cce6 100644 --- a/foundry/v2/ontologies/models/_shared_property_type.py +++ b/foundry/v2/ontologies/models/_shared_property_type.py @@ -38,7 +38,7 @@ class SharedPropertyType(pydantic.BaseModel): display_name: DisplayName = pydantic.Field(alias="displayName") - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None """A short text that describes the SharedPropertyType.""" diff --git a/foundry/v2/ontologies/models/_shared_property_type_api_name.py b/foundry/v2/ontologies/models/_shared_property_type_api_name.py index 371298ce..02dd5b09 100644 --- a/foundry/v2/ontologies/models/_shared_property_type_api_name.py +++ b/foundry/v2/ontologies/models/_shared_property_type_api_name.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -SharedPropertyTypeApiName = pydantic.StrictStr +SharedPropertyTypeApiName = str """ The name of the shared property type in the API in lowerCamelCase format. To find the API name for your shared property type, use the `List shared property types` endpoint or check the **Ontology Manager**. diff --git a/foundry/v2/ontologies/models/_shared_property_type_dict.py b/foundry/v2/ontologies/models/_shared_property_type_dict.py index 6cbeb40f..af8538b3 100644 --- a/foundry/v2/ontologies/models/_shared_property_type_dict.py +++ b/foundry/v2/ontologies/models/_shared_property_type_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -38,7 +37,7 @@ class SharedPropertyTypeDict(TypedDict): displayName: DisplayName - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] """A short text that describes the SharedPropertyType.""" dataType: ObjectPropertyTypeDict diff --git a/foundry/v2/ontologies/models/_starts_with_query.py b/foundry/v2/ontologies/models/_starts_with_query.py index c3734574..90152dfe 100644 --- a/foundry/v2/ontologies/models/_starts_with_query.py +++ b/foundry/v2/ontologies/models/_starts_with_query.py @@ -29,7 +29,7 @@ class StartsWithQuery(pydantic.BaseModel): field: PropertyApiName - value: pydantic.StrictStr + value: str type: Literal["startsWith"] = "startsWith" diff --git a/foundry/v2/ontologies/models/_starts_with_query_dict.py b/foundry/v2/ontologies/models/_starts_with_query_dict.py index 05b5c280..f5655edf 100644 --- a/foundry/v2/ontologies/models/_starts_with_query_dict.py +++ b/foundry/v2/ontologies/models/_starts_with_query_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict from foundry.v2.ontologies.models._property_api_name import PropertyApiName @@ -30,6 +29,6 @@ class StartsWithQueryDict(TypedDict): field: PropertyApiName - value: pydantic.StrictStr + value: str type: Literal["startsWith"] diff --git a/foundry/v2/ontologies/models/_string_regex_match_constraint.py b/foundry/v2/ontologies/models/_string_regex_match_constraint.py index 70141168..80701bd5 100644 --- a/foundry/v2/ontologies/models/_string_regex_match_constraint.py +++ b/foundry/v2/ontologies/models/_string_regex_match_constraint.py @@ -29,11 +29,11 @@ class StringRegexMatchConstraint(pydantic.BaseModel): """The parameter value must match a predefined regular expression.""" - regex: pydantic.StrictStr + regex: str """The regular expression configured in the **Ontology Manager**.""" - configured_failure_message: Optional[pydantic.StrictStr] = pydantic.Field( + configured_failure_message: Optional[str] = pydantic.Field( alias="configuredFailureMessage", default=None ) diff --git a/foundry/v2/ontologies/models/_string_regex_match_constraint_dict.py b/foundry/v2/ontologies/models/_string_regex_match_constraint_dict.py index 6407a364..0d866724 100644 --- a/foundry/v2/ontologies/models/_string_regex_match_constraint_dict.py +++ b/foundry/v2/ontologies/models/_string_regex_match_constraint_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -27,10 +26,10 @@ class StringRegexMatchConstraintDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - regex: pydantic.StrictStr + regex: str """The regular expression configured in the **Ontology Manager**.""" - configuredFailureMessage: NotRequired[pydantic.StrictStr] + configuredFailureMessage: NotRequired[str] """ The message indicating that the regular expression was not matched. This is configured per parameter in the **Ontology Manager**. diff --git a/foundry/v2/ontologies/models/_struct_field_api_name.py b/foundry/v2/ontologies/models/_struct_field_api_name.py index f462b133..d53bf2d1 100644 --- a/foundry/v2/ontologies/models/_struct_field_api_name.py +++ b/foundry/v2/ontologies/models/_struct_field_api_name.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -StructFieldApiName = pydantic.StrictStr +StructFieldApiName = str """The name of a struct field in the Ontology.""" diff --git a/foundry/v2/ontologies/models/_submission_criteria_evaluation.py b/foundry/v2/ontologies/models/_submission_criteria_evaluation.py index 351b56ed..31242292 100644 --- a/foundry/v2/ontologies/models/_submission_criteria_evaluation.py +++ b/foundry/v2/ontologies/models/_submission_criteria_evaluation.py @@ -33,7 +33,7 @@ class SubmissionCriteriaEvaluation(pydantic.BaseModel): These are configured in the **Ontology Manager**. """ - configured_failure_message: Optional[pydantic.StrictStr] = pydantic.Field( + configured_failure_message: Optional[str] = pydantic.Field( alias="configuredFailureMessage", default=None ) diff --git a/foundry/v2/ontologies/models/_submission_criteria_evaluation_dict.py b/foundry/v2/ontologies/models/_submission_criteria_evaluation_dict.py index 61d75980..21a5e128 100644 --- a/foundry/v2/ontologies/models/_submission_criteria_evaluation_dict.py +++ b/foundry/v2/ontologies/models/_submission_criteria_evaluation_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -31,7 +30,7 @@ class SubmissionCriteriaEvaluationDict(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - configuredFailureMessage: NotRequired[pydantic.StrictStr] + configuredFailureMessage: NotRequired[str] """ The message indicating one of the **submission criteria** was not satisfied. This is configured per **submission criteria** in the **Ontology Manager**. diff --git a/foundry/v2/ontologies/ontology_object.py b/foundry/v2/ontologies/ontology_object.py index 51c7c172..1d7715b4 100644 --- a/foundry/v2/ontologies/ontology_object.py +++ b/foundry/v2/ontologies/ontology_object.py @@ -207,7 +207,7 @@ def get( primary_key: PropertyValueEscapedString, *, artifact_repository: Optional[ArtifactRepositoryRid] = None, - exclude_rid: Optional[pydantic.StrictBool] = None, + exclude_rid: Optional[bool] = None, package_name: Optional[SdkPackageName] = None, select: Optional[List[SelectedPropertyApiName]] = None, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, @@ -226,7 +226,7 @@ def get( :param artifact_repository: artifactRepository :type artifact_repository: Optional[ArtifactRepositoryRid] :param exclude_rid: excludeRid - :type exclude_rid: Optional[pydantic.StrictBool] + :type exclude_rid: Optional[bool] :param package_name: packageName :type package_name: Optional[SdkPackageName] :param select: select @@ -271,7 +271,7 @@ def list( object_type: ObjectTypeApiName, *, artifact_repository: Optional[ArtifactRepositoryRid] = None, - exclude_rid: Optional[pydantic.StrictBool] = None, + exclude_rid: Optional[bool] = None, order_by: Optional[OrderBy] = None, package_name: Optional[SdkPackageName] = None, page_size: Optional[PageSize] = None, @@ -303,7 +303,7 @@ def list( :param artifact_repository: artifactRepository :type artifact_repository: Optional[ArtifactRepositoryRid] :param exclude_rid: excludeRid - :type exclude_rid: Optional[pydantic.StrictBool] + :type exclude_rid: Optional[bool] :param order_by: orderBy :type order_by: Optional[OrderBy] :param package_name: packageName @@ -356,7 +356,7 @@ def page( object_type: ObjectTypeApiName, *, artifact_repository: Optional[ArtifactRepositoryRid] = None, - exclude_rid: Optional[pydantic.StrictBool] = None, + exclude_rid: Optional[bool] = None, order_by: Optional[OrderBy] = None, package_name: Optional[SdkPackageName] = None, page_size: Optional[PageSize] = None, @@ -388,7 +388,7 @@ def page( :param artifact_repository: artifactRepository :type artifact_repository: Optional[ArtifactRepositoryRid] :param exclude_rid: excludeRid - :type exclude_rid: Optional[pydantic.StrictBool] + :type exclude_rid: Optional[bool] :param order_by: orderBy :type order_by: Optional[OrderBy] :param package_name: packageName @@ -447,7 +447,7 @@ def search( *, select: List[PropertyApiName], artifact_repository: Optional[ArtifactRepositoryRid] = None, - exclude_rid: Optional[pydantic.StrictBool] = None, + exclude_rid: Optional[bool] = None, order_by: Optional[SearchOrderByV2Dict] = None, package_name: Optional[SdkPackageName] = None, page_size: Optional[PageSize] = None, @@ -491,7 +491,7 @@ def search( :param artifact_repository: artifactRepository :type artifact_repository: Optional[ArtifactRepositoryRid] :param exclude_rid: A flag to exclude the retrieval of the `__rid` property. Setting this to true may improve performance of this endpoint for object types in OSV2. - :type exclude_rid: Optional[pydantic.StrictBool] + :type exclude_rid: Optional[bool] :param order_by: :type order_by: Optional[SearchOrderByV2Dict] :param package_name: packageName @@ -540,7 +540,7 @@ def search( "pageSize": Optional[PageSize], "pageToken": Optional[PageToken], "select": List[PropertyApiName], - "excludeRid": Optional[pydantic.StrictBool], + "excludeRid": Optional[bool], }, ), response_type=SearchObjectsResponseV2, diff --git a/foundry/v2/ontologies/ontology_object_set.py b/foundry/v2/ontologies/ontology_object_set.py index c86b6647..4e66b091 100644 --- a/foundry/v2/ontologies/ontology_object_set.py +++ b/foundry/v2/ontologies/ontology_object_set.py @@ -242,7 +242,7 @@ def load( object_set: ObjectSetDict, select: List[SelectedPropertyApiName], artifact_repository: Optional[ArtifactRepositoryRid] = None, - exclude_rid: Optional[pydantic.StrictBool] = None, + exclude_rid: Optional[bool] = None, order_by: Optional[SearchOrderByV2Dict] = None, package_name: Optional[SdkPackageName] = None, page_size: Optional[PageSize] = None, @@ -268,7 +268,7 @@ def load( :param artifact_repository: artifactRepository :type artifact_repository: Optional[ArtifactRepositoryRid] :param exclude_rid: A flag to exclude the retrieval of the `__rid` property. Setting this to true may improve performance of this endpoint for object types in OSV2. - :type exclude_rid: Optional[pydantic.StrictBool] + :type exclude_rid: Optional[bool] :param order_by: :type order_by: Optional[SearchOrderByV2Dict] :param package_name: packageName @@ -314,7 +314,7 @@ def load( "select": List[SelectedPropertyApiName], "pageToken": Optional[PageToken], "pageSize": Optional[PageSize], - "excludeRid": Optional[pydantic.StrictBool], + "excludeRid": Optional[bool], }, ), response_type=LoadObjectSetResponseV2, diff --git a/foundry/v2/orchestration/models/_abort_on_failure.py b/foundry/v2/orchestration/models/_abort_on_failure.py index 2dbfddbe..b9aa8142 100644 --- a/foundry/v2/orchestration/models/_abort_on_failure.py +++ b/foundry/v2/orchestration/models/_abort_on_failure.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -AbortOnFailure = pydantic.StrictBool +AbortOnFailure = bool """ If any job in the build is unsuccessful, immediately finish the build by cancelling all other jobs. diff --git a/foundry/v2/orchestration/models/_cron_expression.py b/foundry/v2/orchestration/models/_cron_expression.py index 3a5a6642..f2314c81 100644 --- a/foundry/v2/orchestration/models/_cron_expression.py +++ b/foundry/v2/orchestration/models/_cron_expression.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -CronExpression = pydantic.StrictStr +CronExpression = str """ A standard CRON expression with minute, hour, day, month and day of week. diff --git a/foundry/v2/orchestration/models/_force_build.py b/foundry/v2/orchestration/models/_force_build.py index 3038b6d4..efabc67a 100644 --- a/foundry/v2/orchestration/models/_force_build.py +++ b/foundry/v2/orchestration/models/_force_build.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -ForceBuild = pydantic.StrictBool +ForceBuild = bool """Whether to ignore staleness information when running the build.""" diff --git a/foundry/v2/orchestration/models/_notifications_enabled.py b/foundry/v2/orchestration/models/_notifications_enabled.py index 1c65a66b..c202059c 100644 --- a/foundry/v2/orchestration/models/_notifications_enabled.py +++ b/foundry/v2/orchestration/models/_notifications_enabled.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -NotificationsEnabled = pydantic.StrictBool +NotificationsEnabled = bool """ Whether to receive a notification at the end of the build. The notification will be sent to the user that has performed the request. diff --git a/foundry/v2/orchestration/models/_retry_count.py b/foundry/v2/orchestration/models/_retry_count.py index f1887efa..70d1c1de 100644 --- a/foundry/v2/orchestration/models/_retry_count.py +++ b/foundry/v2/orchestration/models/_retry_count.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -RetryCount = pydantic.StrictInt +RetryCount = int """ The number of retry attempts for failed Jobs within the Build. A Job's failure is not considered final until all retries have been attempted or an error occurs indicating that retries cannot be performed. Be aware, diff --git a/foundry/v2/orchestration/models/_schedule.py b/foundry/v2/orchestration/models/_schedule.py index fb970762..358132c0 100644 --- a/foundry/v2/orchestration/models/_schedule.py +++ b/foundry/v2/orchestration/models/_schedule.py @@ -38,9 +38,9 @@ class Schedule(pydantic.BaseModel): rid: ScheduleRid - display_name: Optional[pydantic.StrictStr] = pydantic.Field(alias="displayName", default=None) + display_name: Optional[str] = pydantic.Field(alias="displayName", default=None) - description: Optional[pydantic.StrictStr] = None + description: Optional[str] = None current_version_rid: ScheduleVersionRid = pydantic.Field(alias="currentVersionRid") diff --git a/foundry/v2/orchestration/models/_schedule_dict.py b/foundry/v2/orchestration/models/_schedule_dict.py index e34ae117..ae549e64 100644 --- a/foundry/v2/orchestration/models/_schedule_dict.py +++ b/foundry/v2/orchestration/models/_schedule_dict.py @@ -15,7 +15,6 @@ from __future__ import annotations -import pydantic from typing_extensions import NotRequired from typing_extensions import TypedDict @@ -38,9 +37,9 @@ class ScheduleDict(TypedDict): rid: ScheduleRid - displayName: NotRequired[pydantic.StrictStr] + displayName: NotRequired[str] - description: NotRequired[pydantic.StrictStr] + description: NotRequired[str] currentVersionRid: ScheduleVersionRid """The RID of the current schedule version""" diff --git a/foundry/v2/orchestration/models/_schedule_paused.py b/foundry/v2/orchestration/models/_schedule_paused.py index 0c21e9da..675842ab 100644 --- a/foundry/v2/orchestration/models/_schedule_paused.py +++ b/foundry/v2/orchestration/models/_schedule_paused.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -SchedulePaused = pydantic.StrictBool +SchedulePaused = bool """SchedulePaused""" diff --git a/foundry/v2/orchestration/models/_schedule_run_error.py b/foundry/v2/orchestration/models/_schedule_run_error.py index 4e292288..b328d308 100644 --- a/foundry/v2/orchestration/models/_schedule_run_error.py +++ b/foundry/v2/orchestration/models/_schedule_run_error.py @@ -29,7 +29,7 @@ class ScheduleRunError(pydantic.BaseModel): error_name: ScheduleRunErrorName = pydantic.Field(alias="errorName") - description: pydantic.StrictStr + description: str type: Literal["error"] = "error" diff --git a/foundry/v2/orchestration/models/_schedule_run_error_dict.py b/foundry/v2/orchestration/models/_schedule_run_error_dict.py index 88351b88..b5ba7292 100644 --- a/foundry/v2/orchestration/models/_schedule_run_error_dict.py +++ b/foundry/v2/orchestration/models/_schedule_run_error_dict.py @@ -17,7 +17,6 @@ from typing import Literal -import pydantic from typing_extensions import TypedDict from foundry.v2.orchestration.models._schedule_run_error_name import ScheduleRunErrorName # NOQA @@ -30,6 +29,6 @@ class ScheduleRunErrorDict(TypedDict): errorName: ScheduleRunErrorName - description: pydantic.StrictStr + description: str type: Literal["error"] diff --git a/foundry/v2/orchestration/schedule.py b/foundry/v2/orchestration/schedule.py index 5c04050f..6eddeb40 100644 --- a/foundry/v2/orchestration/schedule.py +++ b/foundry/v2/orchestration/schedule.py @@ -65,8 +65,8 @@ def create( self, *, action: CreateScheduleRequestActionDict, - description: Optional[pydantic.StrictStr] = None, - display_name: Optional[pydantic.StrictStr] = None, + description: Optional[str] = None, + display_name: Optional[str] = None, preview: Optional[PreviewMode] = None, scope_mode: Optional[CreateScheduleRequestScopeModeDict] = None, trigger: Optional[TriggerDict] = None, @@ -77,9 +77,9 @@ def create( :param action: :type action: CreateScheduleRequestActionDict :param description: - :type description: Optional[pydantic.StrictStr] + :type description: Optional[str] :param display_name: - :type display_name: Optional[pydantic.StrictStr] + :type display_name: Optional[str] :param preview: preview :type preview: Optional[PreviewMode] :param scope_mode: @@ -114,8 +114,8 @@ def create( body_type=TypedDict( "Body", { # type: ignore - "displayName": Optional[pydantic.StrictStr], - "description": Optional[pydantic.StrictStr], + "displayName": Optional[str], + "description": Optional[str], "action": CreateScheduleRequestActionDict, "trigger": Optional[TriggerDict], "scopeMode": Optional[CreateScheduleRequestScopeModeDict], @@ -256,8 +256,8 @@ def replace( schedule_rid: ScheduleRid, *, action: ReplaceScheduleRequestActionDict, - description: Optional[pydantic.StrictStr] = None, - display_name: Optional[pydantic.StrictStr] = None, + description: Optional[str] = None, + display_name: Optional[str] = None, preview: Optional[PreviewMode] = None, scope_mode: Optional[ReplaceScheduleRequestScopeModeDict] = None, trigger: Optional[TriggerDict] = None, @@ -270,9 +270,9 @@ def replace( :param action: :type action: ReplaceScheduleRequestActionDict :param description: - :type description: Optional[pydantic.StrictStr] + :type description: Optional[str] :param display_name: - :type display_name: Optional[pydantic.StrictStr] + :type display_name: Optional[str] :param preview: preview :type preview: Optional[PreviewMode] :param scope_mode: @@ -309,8 +309,8 @@ def replace( body_type=TypedDict( "Body", { # type: ignore - "displayName": Optional[pydantic.StrictStr], - "description": Optional[pydantic.StrictStr], + "displayName": Optional[str], + "description": Optional[str], "action": ReplaceScheduleRequestActionDict, "trigger": Optional[TriggerDict], "scopeMode": Optional[ReplaceScheduleRequestScopeModeDict], diff --git a/foundry/v2/streams/errors/_invalid_stream_type.py b/foundry/v2/streams/errors/_invalid_stream_type.py index d4ce9aac..79d3aa98 100644 --- a/foundry/v2/streams/errors/_invalid_stream_type.py +++ b/foundry/v2/streams/errors/_invalid_stream_type.py @@ -29,7 +29,7 @@ class InvalidStreamTypeParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - streamType: pydantic.StrictStr + streamType: str @dataclass diff --git a/foundry/v2/streams/models/_compressed.py b/foundry/v2/streams/models/_compressed.py index 5d3b76d8..a6e08198 100644 --- a/foundry/v2/streams/models/_compressed.py +++ b/foundry/v2/streams/models/_compressed.py @@ -15,9 +15,7 @@ from __future__ import annotations -import pydantic - -Compressed = pydantic.StrictBool +Compressed = bool """ Compression helps reduce the size of the data being sent, resulting in lower network usage and storage, at the cost of some additional CPU usage for compression and decompression. This stream type diff --git a/foundry/v2/streams/models/_partitions_count.py b/foundry/v2/streams/models/_partitions_count.py index c7955351..d420b22b 100644 --- a/foundry/v2/streams/models/_partitions_count.py +++ b/foundry/v2/streams/models/_partitions_count.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -PartitionsCount = pydantic.StrictInt +PartitionsCount = int """The number of partitions for a Foundry stream.""" diff --git a/foundry/v2/streams/models/_record.py b/foundry/v2/streams/models/_record.py index 81bdc0c8..59b8bd26 100644 --- a/foundry/v2/streams/models/_record.py +++ b/foundry/v2/streams/models/_record.py @@ -18,7 +18,5 @@ from typing import Any from typing import Dict -import pydantic - -Record = Dict[pydantic.StrictStr, Any] +Record = Dict[str, Any] """A record to be published to a stream.""" diff --git a/foundry/v2/third_party_applications/errors/_file_count_limit_exceeded.py b/foundry/v2/third_party_applications/errors/_file_count_limit_exceeded.py index 76900ec3..8ebf0338 100644 --- a/foundry/v2/third_party_applications/errors/_file_count_limit_exceeded.py +++ b/foundry/v2/third_party_applications/errors/_file_count_limit_exceeded.py @@ -29,7 +29,7 @@ class FileCountLimitExceededParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - fileCountLimit: pydantic.StrictInt + fileCountLimit: int @dataclass diff --git a/foundry/v2/third_party_applications/errors/_file_size_limit_exceeded.py b/foundry/v2/third_party_applications/errors/_file_size_limit_exceeded.py index 77dcbe4a..6c151c9a 100644 --- a/foundry/v2/third_party_applications/errors/_file_size_limit_exceeded.py +++ b/foundry/v2/third_party_applications/errors/_file_size_limit_exceeded.py @@ -21,6 +21,7 @@ import pydantic from typing_extensions import TypedDict +from foundry._core.utils import Long from foundry._errors import PalantirRPCException @@ -32,11 +33,11 @@ class FileSizeLimitExceededParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - fileSizeBytesLimit: pydantic.StrictStr + fileSizeBytesLimit: Long - currentFileSizeBytes: pydantic.StrictStr + currentFileSizeBytes: Long - currentFilePath: pydantic.StrictStr + currentFilePath: str @dataclass diff --git a/foundry/v2/third_party_applications/errors/_invalid_version.py b/foundry/v2/third_party_applications/errors/_invalid_version.py index 3175412f..a3ea74a5 100644 --- a/foundry/v2/third_party_applications/errors/_invalid_version.py +++ b/foundry/v2/third_party_applications/errors/_invalid_version.py @@ -29,7 +29,7 @@ class InvalidVersionParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - version: pydantic.StrictStr + version: str @dataclass diff --git a/foundry/v2/third_party_applications/errors/_version_limit_exceeded.py b/foundry/v2/third_party_applications/errors/_version_limit_exceeded.py index 6f474876..27057b0b 100644 --- a/foundry/v2/third_party_applications/errors/_version_limit_exceeded.py +++ b/foundry/v2/third_party_applications/errors/_version_limit_exceeded.py @@ -32,7 +32,7 @@ class VersionLimitExceededParameters(TypedDict): __pydantic_config__ = {"extra": "allow"} # type: ignore - versionLimit: pydantic.StrictInt + versionLimit: int @dataclass diff --git a/foundry/v2/third_party_applications/models/_subdomain.py b/foundry/v2/third_party_applications/models/_subdomain.py index a4ddb888..3d6e9b55 100644 --- a/foundry/v2/third_party_applications/models/_subdomain.py +++ b/foundry/v2/third_party_applications/models/_subdomain.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -Subdomain = pydantic.StrictStr +Subdomain = str """A subdomain from which a website is served.""" diff --git a/foundry/v2/third_party_applications/models/_version_version.py b/foundry/v2/third_party_applications/models/_version_version.py index 3413fd84..50d10adf 100644 --- a/foundry/v2/third_party_applications/models/_version_version.py +++ b/foundry/v2/third_party_applications/models/_version_version.py @@ -15,7 +15,5 @@ from __future__ import annotations -import pydantic - -VersionVersion = pydantic.StrictStr +VersionVersion = str """The semantic version of the Website.""" diff --git a/foundry/v2/third_party_applications/version.py b/foundry/v2/third_party_applications/version.py index 64a89789..374a50ab 100644 --- a/foundry/v2/third_party_applications/version.py +++ b/foundry/v2/third_party_applications/version.py @@ -283,7 +283,7 @@ def upload_snapshot( *, version: VersionVersion, preview: Optional[PreviewMode] = None, - snapshot_identifier: Optional[pydantic.StrictStr] = None, + snapshot_identifier: Optional[str] = None, request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None, ) -> Version: """ @@ -298,7 +298,7 @@ def upload_snapshot( :param preview: preview :type preview: Optional[PreviewMode] :param snapshot_identifier: snapshotIdentifier - :type snapshot_identifier: Optional[pydantic.StrictStr] + :type snapshot_identifier: Optional[str] :param request_timeout: timeout setting for this request in seconds. :type request_timeout: Optional[int] :return: Returns the result object. diff --git a/tests/test_utils.py b/tests/test_utils.py index 82b2811c..eb8a9509 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,7 +1,12 @@ import warnings import pytest +from pydantic import BaseModel +from pydantic import ValidationError +from foundry._core.utils import RID +from foundry._core.utils import UUID +from foundry._core.utils import Long from foundry._core.utils import maybe_ignore_preview from foundry._core.utils import remove_prefixes @@ -43,4 +48,64 @@ def my_func_without_preview(): UserWarning, match=r'The "preview" argument is not required when calling my_func_without_preview\(\) since the endpoint is not in beta.', ): - my_func_without_preview(preview=True) + my_func_without_preview(preview=True) # type: ignore + + +def test_accepts_valid_rid(): + class WithRid(BaseModel): + rid: RID + + WithRid.model_validate({"rid": "ri.a.b.c.d"}) + WithRid.model_validate({"rid": "ri.foundry.main.dataset.b737e24d-6b19-43aa-93d5-da9fc4073f6"}) + + +def test_rejects_invalid_rid(): + class WithRid(BaseModel): + rid: RID + + with pytest.raises(ValidationError): + WithRid.model_validate({"rid": "ri.a.b.c"}) + + with pytest.raises(ValidationError): + WithRid.model_validate({"rid": "ri.foundry.main.0.b737e24d-6b19-43aa-93d5-da9fc4073f6"}) + + +def test_accepts_valid_uuid(): + class WithUuid(BaseModel): + uuid: UUID + + WithUuid.model_validate({"uuid": "b737e24d-6b19-43aa-93d5-da9fc4073f6e"}) + + +def test_rejects_invalid_uuid(): + class WithUuid(BaseModel): + uuid: UUID + + with pytest.raises(ValidationError): + WithUuid.model_validate({"uuid": "c"}) + + with pytest.raises(ValidationError): + WithUuid.model_validate({"uuid": "621f9a07-69e2-46c7-8015-c3bb8ee422e"}) + + +def test_accepts_valid_long(): + class WithLong(BaseModel): + long: Long + + WithLong.model_validate({"long": "1234"}) + WithLong.model_validate({"long": 1234}) + + +def test_rejects_invalid_long(): + class WithLong(BaseModel): + long: Long + + with pytest.raises(ValidationError): + WithLong.model_validate({"long": "a1234"}) + + +def test_long_serializes_to_string(): + class WithLong(BaseModel): + long: Long + + assert WithLong(long=123).model_dump_json() == '{"long":"123"}'