Request: Include Enum for Types of Data Flows in the Data Factory
See original GitHub issueIs your feature request related to a problem? Please describe.
Instead of needing to expose a protected list of Data Flow types in sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models_py3.py
because it’s bad practice to access protected properties/methods.
Describe the solution you’d like
It would be nice if there was an enum that was accessible sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_data_factory_management_client_enums.py
Describe alternatives you’ve considered Hardcoding the list is less desirable since things could change in the future and that’s more code to update elsewhere.
Additional context n/a
Issue Analytics
- State:
- Created a year ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Data Flows - Get - REST API (Azure Data Factory)
Learn more about Data Factory service - Gets a data flow. ... URI Parameters; Request Header; Responses; Security; Examples; Definitions ... type, enum:....
Read more >Splitting Arrays and Case Statements in ADF Data Flows
Learn how to work with splitting strings, splitting arrays, and enumerating values with case statements in #Azure # DataFactory ...
Read more >Advanced mapping of JSON in Azure Data Factory
I'm trying to map a JSON document (sensor data) into a more meaningful representation using Mapping Dataflows.
Read more >Flow | Metadata API Developer Guide
Represents the metadata associated with a flow. With Flow, you can create an application that navigates users through a series of screens to...
Read more >Defining an Enum - The Rust Programming Language
This code illustrates that you can put any kind of data inside an enum variant: strings, numeric types, or structs, for example. You...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mindlessroman SDK is generated with swagger. If you want to use these values as enum, there shall be relative enum definition in swagger. Unfortunately, I don’t find it in swagger. So I advise you open an issue in https://github.com/Azure/azure-rest-api-specs/issues or make a PR to add it. (enum definition sample: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L5105-L5110)
Hi @mindlessroman, since you haven’t asked that we “
/unresolve
” the issue, we’ll close this out. If you believe further discussion is needed, please add a comment “/unresolve
” to reopen the issue.