Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, **kwargs):
super(Activity, self).__init__(**kwargs)
self.additional_properties = kwargs.get('additional_properties', None)
self.name = kwargs.get('name', None)
self.description = kwargs.get('description', None)
self.depends_on = kwargs.get('depends_on', None)
self.user_properties = kwargs.get('user_properties', None)
self.type = None
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from .activity import Activity
class ExecutionActivity(Activity):
"""Base class for all execution activities.
You probably want to use the sub-classes and not this class directly. Known
sub-classes are: AzureFunctionActivity, DatabricksSparkPythonActivity,
DatabricksSparkJarActivity, DatabricksNotebookActivity,
DataLakeAnalyticsUSQLActivity, AzureMLUpdateResourceActivity,
AzureMLBatchExecutionActivity, GetMetadataActivity, WebActivity,
LookupActivity, DeleteActivity, SqlServerStoredProcedureActivity,
CustomActivity, ExecuteSSISPackageActivity, HDInsightSparkActivity,
HDInsightStreamingActivity, HDInsightMapReduceActivity,
HDInsightPigActivity, HDInsightHiveActivity, CopyActivity
All required parameters must be populated in order to send to Azure.
:param additional_properties: Unmatched properties from the message are
deserialized this collection
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from .activity import Activity
class ControlActivity(Activity):
"""Base class for all control activities like IfCondition, ForEach , Until.
You probably want to use the sub-classes and not this class directly. Known
sub-classes are: AppendVariableActivity, SetVariableActivity,
FilterActivity, UntilActivity, WaitActivity, ForEachActivity,
IfConditionActivity, ExecutePipelineActivity
All required parameters must be populated in order to send to Azure.
:param additional_properties: Unmatched properties from the message are
deserialized this collection
:type additional_properties: dict[str, object]
:param name: Required. Activity name.
:type name: str
:param description: Activity description.
:type description: str