Comments (2)
This is a result of accidental mutation of the params
dictionary that's passed into this generator. Notice that the same params
dictionary is used for each listing per zone
hail/batch/batch/cloud/gcp/driver/disks.py
Lines 27 to 31 in de0f7a8
and the dictionary is mutated here . This means that on the second iteration (second zone),
self._request_params
will contain the last nextPageToken
from the previous iteration, triggering this assertion.
Avoiding this accidental mutation should resolve this issue.
from hail.
Used this to test
import asyncio
from hailtop.aiocloud.aiogoogle import GoogleComputeClient
async def main():
params = {'filter': f'(labels.namespace = default)'}
async with GoogleComputeClient('hail-vdc') as client:
for zone in ('a', 'b', 'c', 'f'):
async for disk in client.list(f'/zones/us-central1-{zone}/disks', params=params):
pass
asyncio.run(main())
from hail.
Related Issues (20)
- [batch] Add job groups to the `hailtop.batch` interface
- HTTP 404 error at https://hail.is/ HOT 5
- [infra] Delete the `gcr-push` service account from terraform and hail-vdc
- [batch] Drop dead rows from `job_group_inst_coll_cancellable_resources` HOT 8
- [batch] Consider retention periods for batches
- [batch] New UI friction points
- Installing from PyPI leads to a broken install HOT 2
- Login does not allow you to choose which user to log in as
- Logout is unauthorized except from auth.hail.is pages HOT 1
- Batch client not splitting up large batch submissions
- admin-pod/Makefile deploy target is broken
- Batch worker cannot start with more than 64 CPUs
- Rename `job_groups_cancelled.id` -> `job_groups_cancelled.batch_id`
- `hailctl dataproc submit` ignores `project` arg
- [query] StreamConstraintsException in Spark backend HOT 1
- `hailctl dataproc start` requires `--public-ip-address` to work
- [fs] The sync tool issue
- [query] Support VCF v4.5
- Document CI system
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hail.