Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-mgmt-datashare] Fix json format by prettier #36

Closed
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def __init__(self, **kwargs):


class ADLSGen1FileDataSet(DataSet):
"""An ADLS Gen 1 file dataset.
"""An ADLS Gen 1 file data set.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -279,7 +279,7 @@ def __init__(self, **kwargs):


class ADLSGen1FolderDataSet(DataSet):
"""An ADLS Gen 1 folder dataset.
"""An ADLS Gen 1 folder data set.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -341,7 +341,7 @@ def __init__(self, **kwargs):


class ADLSGen2FileDataSet(DataSet):
"""An ADLS Gen 2 file dataset.
"""An ADLS Gen 2 file data set.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -409,7 +409,7 @@ def __init__(self, **kwargs):


class DataSetMapping(ProxyDto):
"""A dataset mapping data transfer object.
"""A data set mapping data transfer object.

You probably want to use the sub-classes and not this class directly. Known
sub-classes are: BlobDataSetMapping, BlobFolderDataSetMapping,
Expand Down Expand Up @@ -457,7 +457,7 @@ def __init__(self, **kwargs):


class ADLSGen2FileDataSetMapping(DataSetMapping):
"""An ADLS Gen2 file dataset mapping.
"""An ADLS Gen2 file data set mapping.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -472,9 +472,9 @@ class ADLSGen2FileDataSetMapping(DataSetMapping):
:vartype type: str
:param kind: Required. Constant filled by server.
:type kind: str
:param data_set_id: Gets the id of source dataset.
:param data_set_id: Required. The id of the source data set.
:type data_set_id: str
:param data_set_mapping_status: Gets the status of the dataset mapping.
:param data_set_mapping_status: Gets the status of the data set mapping.
Possible values include: 'Ok', 'Broken'
:type data_set_mapping_status: str or
~azure.mgmt.datashare.models.DataSetMappingStatus
Expand All @@ -499,6 +499,7 @@ class ADLSGen2FileDataSetMapping(DataSetMapping):
'name': {'readonly': True},
'type': {'readonly': True},
'kind': {'required': True},
'data_set_id': {'required': True},
'file_path': {'required': True},
'file_system': {'required': True},
'resource_group': {'required': True},
Expand Down Expand Up @@ -535,7 +536,7 @@ def __init__(self, **kwargs):


class ADLSGen2FileSystemDataSet(DataSet):
"""An ADLS Gen 2 file system dataset.
"""An ADLS Gen 2 file system data set.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -598,7 +599,7 @@ def __init__(self, **kwargs):


class ADLSGen2FileSystemDataSetMapping(DataSetMapping):
"""An ADLS Gen2 file system dataset mapping.
"""An ADLS Gen2 file system data set mapping.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -613,9 +614,9 @@ class ADLSGen2FileSystemDataSetMapping(DataSetMapping):
:vartype type: str
:param kind: Required. Constant filled by server.
:type kind: str
:param data_set_id: Gets the id of source dataset.
:param data_set_id: Required. The id of the source data set.
:type data_set_id: str
:param data_set_mapping_status: Gets the status of the dataset mapping.
:param data_set_mapping_status: Gets the status of the data set mapping.
Possible values include: 'Ok', 'Broken'
:type data_set_mapping_status: str or
~azure.mgmt.datashare.models.DataSetMappingStatus
Expand All @@ -635,6 +636,7 @@ class ADLSGen2FileSystemDataSetMapping(DataSetMapping):
'name': {'readonly': True},
'type': {'readonly': True},
'kind': {'required': True},
'data_set_id': {'required': True},
'file_system': {'required': True},
'resource_group': {'required': True},
'storage_account_name': {'required': True},
Expand Down Expand Up @@ -666,7 +668,7 @@ def __init__(self, **kwargs):


class ADLSGen2FolderDataSet(DataSet):
"""An ADLS Gen 2 folder dataset.
"""An ADLS Gen 2 folder data set.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -734,7 +736,7 @@ def __init__(self, **kwargs):


class ADLSGen2FolderDataSetMapping(DataSetMapping):
"""An ADLS Gen2 folder dataset mapping.
"""An ADLS Gen2 folder data set mapping.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -749,9 +751,9 @@ class ADLSGen2FolderDataSetMapping(DataSetMapping):
:vartype type: str
:param kind: Required. Constant filled by server.
:type kind: str
:param data_set_id: Gets the id of source dataset.
:param data_set_id: Required. The id of the source data set.
:type data_set_id: str
:param data_set_mapping_status: Gets the status of the dataset mapping.
:param data_set_mapping_status: Gets the status of the data set mapping.
Possible values include: 'Ok', 'Broken'
:type data_set_mapping_status: str or
~azure.mgmt.datashare.models.DataSetMappingStatus
Expand All @@ -773,6 +775,7 @@ class ADLSGen2FolderDataSetMapping(DataSetMapping):
'name': {'readonly': True},
'type': {'readonly': True},
'kind': {'required': True},
'data_set_id': {'required': True},
'file_system': {'required': True},
'folder_path': {'required': True},
'resource_group': {'required': True},
Expand Down Expand Up @@ -807,7 +810,7 @@ def __init__(self, **kwargs):


class BlobContainerDataSet(DataSet):
"""An Azure storage blob container dataset.
"""An Azure storage blob container data set.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -870,7 +873,7 @@ def __init__(self, **kwargs):


class BlobContainerDataSetMapping(DataSetMapping):
"""A Blob container dataset mapping.
"""A Blob container data set mapping.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -887,9 +890,9 @@ class BlobContainerDataSetMapping(DataSetMapping):
:type kind: str
:param container_name: Required. BLOB Container name.
:type container_name: str
:param data_set_id: Gets the id of source dataset.
:param data_set_id: Required. The id of the source data set.
:type data_set_id: str
:param data_set_mapping_status: Gets the status of the dataset mapping.
:param data_set_mapping_status: Gets the status of the data set mapping.
Possible values include: 'Ok', 'Broken'
:type data_set_mapping_status: str or
~azure.mgmt.datashare.models.DataSetMappingStatus
Expand All @@ -908,6 +911,7 @@ class BlobContainerDataSetMapping(DataSetMapping):
'type': {'readonly': True},
'kind': {'required': True},
'container_name': {'required': True},
'data_set_id': {'required': True},
'resource_group': {'required': True},
'storage_account_name': {'required': True},
'subscription_id': {'required': True},
Expand Down Expand Up @@ -938,7 +942,7 @@ def __init__(self, **kwargs):


class BlobDataSet(DataSet):
"""An Azure storage blob dataset.
"""An Azure storage blob data set.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -1006,7 +1010,7 @@ def __init__(self, **kwargs):


class BlobDataSetMapping(DataSetMapping):
"""A Blob dataset mapping.
"""A Blob data set mapping.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -1023,9 +1027,9 @@ class BlobDataSetMapping(DataSetMapping):
:type kind: str
:param container_name: Required. Container that has the file path.
:type container_name: str
:param data_set_id: Gets the id of source dataset.
:param data_set_id: Required. The id of the source data set.
:type data_set_id: str
:param data_set_mapping_status: Gets the status of the dataset mapping.
:param data_set_mapping_status: Gets the status of the data set mapping.
Possible values include: 'Ok', 'Broken'
:type data_set_mapping_status: str or
~azure.mgmt.datashare.models.DataSetMappingStatus
Expand All @@ -1049,6 +1053,7 @@ class BlobDataSetMapping(DataSetMapping):
'type': {'readonly': True},
'kind': {'required': True},
'container_name': {'required': True},
'data_set_id': {'required': True},
'file_path': {'required': True},
'resource_group': {'required': True},
'storage_account_name': {'required': True},
Expand Down Expand Up @@ -1084,7 +1089,7 @@ def __init__(self, **kwargs):


class BlobFolderDataSet(DataSet):
"""An Azure storage blob folder dataset.
"""An Azure storage blob folder data set.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -1152,7 +1157,7 @@ def __init__(self, **kwargs):


class BlobFolderDataSetMapping(DataSetMapping):
"""A Blob folder dataset mapping.
"""A Blob folder data set mapping.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -1169,9 +1174,9 @@ class BlobFolderDataSetMapping(DataSetMapping):
:type kind: str
:param container_name: Required. Container that has the file path.
:type container_name: str
:param data_set_id: Gets the id of source dataset.
:param data_set_id: Required. The id of the source data set.
:type data_set_id: str
:param data_set_mapping_status: Gets the status of the dataset mapping.
:param data_set_mapping_status: Gets the status of the data set mapping.
Possible values include: 'Ok', 'Broken'
:type data_set_mapping_status: str or
~azure.mgmt.datashare.models.DataSetMappingStatus
Expand All @@ -1192,6 +1197,7 @@ class BlobFolderDataSetMapping(DataSetMapping):
'type': {'readonly': True},
'kind': {'required': True},
'container_name': {'required': True},
'data_set_id': {'required': True},
'prefix': {'required': True},
'resource_group': {'required': True},
'storage_account_name': {'required': True},
Expand Down Expand Up @@ -2369,7 +2375,7 @@ def __init__(self, **kwargs):


class SqlDBTableDataSet(DataSet):
"""A SQL DB table dataset.
"""A SQL DB table data set.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -2423,7 +2429,7 @@ def __init__(self, **kwargs):


class SqlDBTableDataSetMapping(DataSetMapping):
"""A SQL DB Table dataset mapping.
"""A SQL DB Table data set mapping.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -2440,9 +2446,9 @@ class SqlDBTableDataSetMapping(DataSetMapping):
:type kind: str
:param database_name: Required. DatabaseName name of the sink data set
:type database_name: str
:param data_set_id: Gets the id of source dataset.
:param data_set_id: Required. The id of the source data set.
:type data_set_id: str
:param data_set_mapping_status: Gets the status of the dataset mapping.
:param data_set_mapping_status: Gets the status of the data set mapping.
Possible values include: 'Ok', 'Broken'
:type data_set_mapping_status: str or
~azure.mgmt.datashare.models.DataSetMappingStatus
Expand All @@ -2458,6 +2464,7 @@ class SqlDBTableDataSetMapping(DataSetMapping):
'type': {'readonly': True},
'kind': {'required': True},
'database_name': {'required': True},
'data_set_id': {'required': True},
'sql_server_resource_id': {'required': True},
'table_name': {'required': True},
}
Expand Down Expand Up @@ -2485,7 +2492,7 @@ def __init__(self, **kwargs):


class SqlDWTableDataSet(DataSet):
"""A SQL DW table dataset.
"""A SQL DW table data set.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -2539,7 +2546,7 @@ def __init__(self, **kwargs):


class SqlDWTableDataSetMapping(DataSetMapping):
"""A SQL DW Table dataset mapping.
"""A SQL DW Table data set mapping.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -2554,9 +2561,9 @@ class SqlDWTableDataSetMapping(DataSetMapping):
:vartype type: str
:param kind: Required. Constant filled by server.
:type kind: str
:param data_set_id: Gets the id of source dataset.
:param data_set_id: Required. The id of the source data set.
:type data_set_id: str
:param data_set_mapping_status: Gets the status of the dataset mapping.
:param data_set_mapping_status: Gets the status of the data set mapping.
Possible values include: 'Ok', 'Broken'
:type data_set_mapping_status: str or
~azure.mgmt.datashare.models.DataSetMappingStatus
Expand All @@ -2574,6 +2581,7 @@ class SqlDWTableDataSetMapping(DataSetMapping):
'name': {'readonly': True},
'type': {'readonly': True},
'kind': {'required': True},
'data_set_id': {'required': True},
'data_warehouse_name': {'required': True},
'sql_server_resource_id': {'required': True},
'table_name': {'required': True},
Expand Down Expand Up @@ -2602,7 +2610,7 @@ def __init__(self, **kwargs):


class SynchronizationDetails(Model):
"""Synchronization details at dataset level.
"""Synchronization details at data set level.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -2614,33 +2622,33 @@ class SynchronizationDetails(Model):
'AdlsGen2File', 'AdlsGen1Folder', 'AdlsGen1File', 'SqlDBTable',
'SqlDWTable'
:vartype data_set_type: str or ~azure.mgmt.datashare.models.DataSetType
:ivar duration_ms: duration of dataset level copy
:ivar duration_ms: duration of data set level copy
:vartype duration_ms: int
:ivar end_time: End time of dataset level copy
:ivar end_time: End time of data set level copy
:vartype end_time: datetime
:ivar files_read: The number of files read from the source dataset.
:ivar files_read: The number of files read from the source data set.
:vartype files_read: long
:ivar files_written: The number of files written into the sink dataset.
:ivar files_written: The number of files written into the sink data set.
:vartype files_written: long
:ivar message: Error Message if any
:vartype message: str
:ivar name: name of dataSet
:vartype name: str
:ivar rows_copied: The number of files copied into the sink dataset.
:ivar rows_copied: The number of files copied into the sink data set.
:vartype rows_copied: long
:ivar rows_read: The number of rows read from the source dataset.
:ivar rows_read: The number of rows read from the source data set.
:vartype rows_read: long
:ivar size_read: The size of the data read from the source dataset in
:ivar size_read: The size of the data read from the source data set in
bytes.
:vartype size_read: long
:ivar size_written: The size of the data written into the sink dataset in
:ivar size_written: The size of the data written into the sink data set in
bytes.
:vartype size_written: long
:ivar start_time: start time of dataset level copy
:ivar start_time: start time of data set level copy
:vartype start_time: datetime
:ivar status: Raw Status
:vartype status: str
:ivar v_core: The vCore units consumed for the dataset synchronization.
:ivar v_core: The vCore units consumed for the data set synchronization.
:vartype v_core: long
"""

Expand Down
Loading