Azure / azure-rest-api-specs-examples

SDK examples for azure-rest-api-specs
MIT License
22 stars 13 forks source link

Few parameters missing while using fetching data using python programming code #4619

Open 845663 opened 4 months ago

845663 commented 4 months ago

Link to sample

No response

Library name and version

azure.mgmt.datafactory.models

Language of the Sample

Sample Issue Type

Issue details

I am not able to get isLastest value for any pipeline while fetching the ADF details using the sample code.

Following is the response format that i received using the sample code:

{ 'additional_properties': { 'cancelledBy': None, 'debugRunId': None, 'annotations': [], 'id': '****' }, 'run_id': '**', 'pipeline_name': 'example', 'parameters': {'run_env': 'prod', 'orion_dls_cntner': 'sub', 'workflow_name': '****', 'DB_Name': '', 'snapshot_dt': '*****', 'JobStreamPlanSchdTime': '', 'JobStreamPlanSchdDate': '', 'ADB_Directory': '**'}, 'invoked_by': <azure.mgmt.datafactory.models.pipeline_run_invoked_by.PipelineRunInvokedBy object at 0x7f8c5e6d79a0>, 'last_updated': datetime.datetime(<isodate.tzinfo.Utc object at 0x7f8c6c3e0370>), 'run_start': datetime.datetime(<isodate.tzinfo.Utc object at 0x7f8c6c3e0370>), 'run_end': datetime.datetime(<isodate.tzinfo.Utc object at 0x7f8c6c3e0370>), 'duration_in_ms': 11134371, 'status': 'Failed', 'message': '' }

Below it the code that i am using to fetch the required data image

Expected behavior

Should share islatest details as well

Actual behavior

Few parameter value missing

Reproduction Steps

No response

Environment

Python, Databricks

msyyc commented 1 month ago

@ChenxiJiang333 Please help on this issue.

ChenxiJiang333 commented 1 month ago

got it

ChenxiJiang333 commented 1 month ago

Hi @845663, failed to reproduce this issue, could you follow https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/debug_guide.md to share the detailed log and the package version you're using for deep investigation? Image