Azure / Azure/azure-rest-api-specs-examples

Few parameters missing while using fetching data using python programming code

Open
#4,619 3 comments 0 reactions 1 assignee Claimed by @msyyc View on GitHub
customer-reported question
Dominant language
No language data
Stars
40
Forks
23
Avg merge
23h 36m
Merged PRs (30d)
172

Description

### Link to sample

_No response_

### Library name and version

azure.mgmt.datafactory.models

### Language of the Sample

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

### Sample Issue Type

- [X] Sample not working
- [X] 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': ,
'last_updated': datetime.datetime(),
'run_start': datetime.datetime(),
'run_end': datetime.datetime(),
'duration_in_ms': 11134371,
'status': 'Failed',
'message': ''
}

Below it the code that i am using to fetch the required data
![image](https://github.com/Azure/azure-rest-api-specs-examples/assets/126143977/d8b31c4a-43dc-4b67-b6f5-8c63c4caec05)

### Expected behavior

Should share islatest details as well

### Actual behavior

Few parameter value missing

### Reproduction Steps

_No response_

### Environment

Python, Databricks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.