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

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

Open
3 of 9 tasks
845663 opened this issue Jul 4, 2024 · 3 comments
Open
3 of 9 tasks
Assignees
Labels
customer-reported question Further information is requested

Comments

@845663
Copy link

845663 commented Jul 4, 2024

Link to sample

No response

Library name and version

azure.mgmt.datafactory.models

Language of the Sample

  • C#/.NET
  • Java
  • JavaScript/TypedScript
  • Python
  • Golang
  • Other - Please specify in Issue details field

Sample Issue Type

  • Sample not working
  • Sample missing
  • Do not understand sample

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
Copy link
Member

msyyc commented Oct 9, 2024

@ChenxiJiang333 Please help on this issue.

@ChenxiJiang333
Copy link
Member

got it

@ChenxiJiang333
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants