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-datafactory] [DataFactory] Support source sink level staging #1668

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 @@ -9950,6 +9950,8 @@ class DataFlowSink(Transformation):
:param schema_linked_service: Schema linked service reference.
:type schema_linked_service:
~azure.mgmt.datafactory.models.LinkedServiceReference
:param staging: Staging info for execute data flow activity.
:type staging: ~azure.mgmt.datafactory.models.DataFlowStagingInfo
"""

_validation = {
Expand All @@ -9962,13 +9964,15 @@ class DataFlowSink(Transformation):
'dataset': {'key': 'dataset', 'type': 'DatasetReference'},
'linked_service': {'key': 'linkedService', 'type': 'LinkedServiceReference'},
'schema_linked_service': {'key': 'schemaLinkedService', 'type': 'LinkedServiceReference'},
'staging': {'key': 'staging', 'type': 'DataFlowStagingInfo'},
}

def __init__(self, **kwargs):
super(DataFlowSink, self).__init__(**kwargs)
self.dataset = kwargs.get('dataset', None)
self.linked_service = kwargs.get('linked_service', None)
self.schema_linked_service = kwargs.get('schema_linked_service', None)
self.staging = kwargs.get('staging', None)


class DataFlowSource(Transformation):
Expand All @@ -9988,6 +9992,8 @@ class DataFlowSource(Transformation):
:param schema_linked_service: Schema linked service reference.
:type schema_linked_service:
~azure.mgmt.datafactory.models.LinkedServiceReference
:param staging: Staging info for execute data flow activity.
:type staging: ~azure.mgmt.datafactory.models.DataFlowStagingInfo
"""

_validation = {
Expand All @@ -10000,13 +10006,15 @@ class DataFlowSource(Transformation):
'dataset': {'key': 'dataset', 'type': 'DatasetReference'},
'linked_service': {'key': 'linkedService', 'type': 'LinkedServiceReference'},
'schema_linked_service': {'key': 'schemaLinkedService', 'type': 'LinkedServiceReference'},
'staging': {'key': 'staging', 'type': 'DataFlowStagingInfo'},
}

def __init__(self, **kwargs):
super(DataFlowSource, self).__init__(**kwargs)
self.dataset = kwargs.get('dataset', None)
self.linked_service = kwargs.get('linked_service', None)
self.schema_linked_service = kwargs.get('schema_linked_service', None)
self.staging = kwargs.get('staging', None)


class DataFlowSourceSetting(Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9950,6 +9950,8 @@ class DataFlowSink(Transformation):
:param schema_linked_service: Schema linked service reference.
:type schema_linked_service:
~azure.mgmt.datafactory.models.LinkedServiceReference
:param staging: Staging info for execute data flow activity.
:type staging: ~azure.mgmt.datafactory.models.DataFlowStagingInfo
"""

_validation = {
Expand All @@ -9962,13 +9964,15 @@ class DataFlowSink(Transformation):
'dataset': {'key': 'dataset', 'type': 'DatasetReference'},
'linked_service': {'key': 'linkedService', 'type': 'LinkedServiceReference'},
'schema_linked_service': {'key': 'schemaLinkedService', 'type': 'LinkedServiceReference'},
'staging': {'key': 'staging', 'type': 'DataFlowStagingInfo'},
}

def __init__(self, *, name: str, description: str=None, dataset=None, linked_service=None, schema_linked_service=None, **kwargs) -> None:
def __init__(self, *, name: str, description: str=None, dataset=None, linked_service=None, schema_linked_service=None, staging=None, **kwargs) -> None:
super(DataFlowSink, self).__init__(name=name, description=description, **kwargs)
self.dataset = dataset
self.linked_service = linked_service
self.schema_linked_service = schema_linked_service
self.staging = staging


class DataFlowSource(Transformation):
Expand All @@ -9988,6 +9992,8 @@ class DataFlowSource(Transformation):
:param schema_linked_service: Schema linked service reference.
:type schema_linked_service:
~azure.mgmt.datafactory.models.LinkedServiceReference
:param staging: Staging info for execute data flow activity.
:type staging: ~azure.mgmt.datafactory.models.DataFlowStagingInfo
"""

_validation = {
Expand All @@ -10000,13 +10006,15 @@ class DataFlowSource(Transformation):
'dataset': {'key': 'dataset', 'type': 'DatasetReference'},
'linked_service': {'key': 'linkedService', 'type': 'LinkedServiceReference'},
'schema_linked_service': {'key': 'schemaLinkedService', 'type': 'LinkedServiceReference'},
'staging': {'key': 'staging', 'type': 'DataFlowStagingInfo'},
}

def __init__(self, *, name: str, description: str=None, dataset=None, linked_service=None, schema_linked_service=None, **kwargs) -> None:
def __init__(self, *, name: str, description: str=None, dataset=None, linked_service=None, schema_linked_service=None, staging=None, **kwargs) -> None:
super(DataFlowSource, self).__init__(name=name, description=description, **kwargs)
self.dataset = dataset
self.linked_service = linked_service
self.schema_linked_service = schema_linked_service
self.staging = staging


class DataFlowSourceSetting(Model):
Expand Down