Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix merge
  • Loading branch information
dargilco committed Apr 29, 2025
commit 921b5bbbf5a7c7a258b5313c62bccc14af04d527
18 changes: 6 additions & 12 deletions sdk/ai/azure-ai-projects/azure/ai/projects/models/_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,7 @@ class BlobReferenceForConsumption(_Model):
"""Represents a reference to a blob for consumption.

:ivar blob_uri: Blob URI path for client to upload data. Example:
`https://blob.windows.core.net/Container/Path <https://blob.windows.core.net/Container/Path>`_.
Required.
``https://blob.windows.core.net/Container/Path``. Required.
:vartype blob_uri: str
:ivar storage_account_arm_id: ARM ID of the storage account to use. Required.
:vartype storage_account_arm_id: str
Expand All @@ -567,8 +566,7 @@ class BlobReferenceForConsumption(_Model):
"""

blob_uri: str = rest_field(name="blobUri", visibility=["read", "create", "update", "delete", "query"])
"""Blob URI path for client to upload data. Example: `https://blob.windows.core.net/Container/Path
<https://blob.windows.core.net/Container/Path>`_. Required."""
"""Blob URI path for client to upload data. Example: ``https://blob.windows.core.net/Container/Path``. Required."""
storage_account_arm_id: str = rest_field(
name="storageAccountArmId", visibility=["read", "create", "update", "delete", "query"]
)
Expand Down Expand Up @@ -733,8 +731,7 @@ class DatasetVersion(_Model):
FileDatasetVersion, FolderDatasetVersion

:ivar dataset_uri: [Required] Uri of the data. Example:
`https://go.microsoft.com/fwlink/?linkid=2202330
<https://go.microsoft.com/fwlink/?linkid=2202330>`_. Required.
``https://go.microsoft.com/fwlink/?linkid=2202330``. Required.
:vartype dataset_uri: str
:ivar type: Dataset type. Required. Known values are: "uri_file" and "uri_folder".
:vartype type: str or ~azure.ai.projects.models.DatasetType
Expand All @@ -757,8 +754,7 @@ class DatasetVersion(_Model):

__mapping__: Dict[str, _Model] = {}
dataset_uri: str = rest_field(name="datasetUri", visibility=["read", "create"])
"""[Required] Uri of the data. Example: `https://go.microsoft.com/fwlink/?linkid=2202330
<https://go.microsoft.com/fwlink/?linkid=2202330>`_. Required."""
"""[Required] Uri of the data. Example: ``https://go.microsoft.com/fwlink/?linkid=2202330``. Required."""
type: str = rest_discriminator(name="type", visibility=["read", "create", "update", "delete", "query"])
"""Dataset type. Required. Known values are: \"uri_file\" and \"uri_folder\"."""
is_reference: Optional[bool] = rest_field(name="isReference", visibility=["read"])
Expand Down Expand Up @@ -1013,8 +1009,7 @@ class FileDatasetVersion(DatasetVersion, discriminator="uri_file"):
"""FileDatasetVersion Definition.

:ivar dataset_uri: [Required] Uri of the data. Example:
`https://go.microsoft.com/fwlink/?linkid=2202330
<https://go.microsoft.com/fwlink/?linkid=2202330>`_. Required.
``https://go.microsoft.com/fwlink/?linkid=2202330``. Required.
:vartype dataset_uri: str
:ivar is_reference: Indicates if dataset is reference only or managed by dataset service. If
true, the underlying data will be deleted when the dataset version is deleted.
Expand Down Expand Up @@ -1070,8 +1065,7 @@ class FolderDatasetVersion(DatasetVersion, discriminator="uri_folder"):
"""FileDatasetVersion Definition.

:ivar dataset_uri: [Required] Uri of the data. Example:
`https://go.microsoft.com/fwlink/?linkid=2202330
<https://go.microsoft.com/fwlink/?linkid=2202330>`_. Required.
``https://go.microsoft.com/fwlink/?linkid=2202330``. Required.
:vartype dataset_uri: str
:ivar is_reference: Indicates if dataset is reference only or managed by dataset service. If
true, the underlying data will be deleted when the dataset version is deleted.
Expand Down
Loading