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:5159c189-9509-f725-b393-5c9a4acec224 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AE06:398A3A:A8A6DD9:D83FC53:697EF6B4 |
| html-safe-nonce | edfeaf853fd9da85b70c1f59862552e185ed9aa2e296b1bc1b3d8495a9946e5e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTA2OjM5OEEzQTpBOEE2REQ5OkQ4M0ZDNTM6Njk3RUY2QjQiLCJ2aXNpdG9yX2lkIjoiMTg1NDQ1MTIxMjQxODQ3OTc5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a95f1935ec8e5b0ac5e6e48fa4efdca64f53eb7e9fe6b5de192e9b78c4ce186f |
| 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