Title: Adding download_item to file_container_client to download individual … by maximvelichko · Pull Request #384 · microsoft/azure-devops-python-api · GitHub
Open Graph Title: Adding download_item to file_container_client to download individual … by maximvelichko · Pull Request #384 · microsoft/azure-devops-python-api
X Title: Adding download_item to file_container_client to download individual … by maximvelichko · Pull Request #384 · microsoft/azure-devops-python-api
Description: …file from an artifact To download a single file from a build's artifact: artifact = self.build_client.get_artifact(project_name, build_id, 'artifact_name') with open('/tmp/out.zip', 'wb') as f: for x in self.file_container_client.download_item(artifact.resource.data.split('/')[1], item_path='artifact_name/path/to/out.zip'): f.write(x)
Open Graph Description: …file from an artifact To download a single file from a build's artifact: artifact = self.build_client.get_artifact(project_name, build_id, 'artifact_name') with open(&...
X Description: …file from an artifact To download a single file from a build's artifact: artifact = self.build_client.get_artifact(project_name, build_id, 'artifact_name') ...
Opengraph URL: https://github.com/microsoft/azure-devops-python-api/pull/384
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:cd3ad325-93aa-510d-8fad-efd65ebf19ab |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9380:209676:BB3F52:F121F4:697E780A |
| html-safe-nonce | 7424cfd499a2c33029e48def1722dde9e9c75869204f1ff021aed9776b328134 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzgwOjIwOTY3NjpCQjNGNTI6RjEyMUY0OjY5N0U3ODBBIiwidmlzaXRvcl9pZCI6Ijc4Mjk4ODc4NzM4NzU2MDU1MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e6161176fca1d637d9540a0a2d4a12b24b92886057ff2096c6738dbc1490faac |
| hovercard-subject-tag | pull_request:661492674 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/microsoft/azure-devops-python-api/pull/384/files |
| twitter:image | https://avatars.githubusercontent.com/u/13109133?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/13109133?s=400&v=4 |
| og:image:alt | …file from an artifact To download a single file from a build's artifact: artifact = self.build_client.get_artifact(project_name, build_id, 'artifact_name') with open(&... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/microsoft/azure-devops-python-api git https://github.com/microsoft/azure-devops-python-api.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 107710074 |
| octolytics-dimension-repository_nwo | microsoft/azure-devops-python-api |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 107710074 |
| octolytics-dimension-repository_network_root_nwo | microsoft/azure-devops-python-api |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width