David Huser

Results 10 issues of David Huser

minor bug: Remove assertion statement: > ... used assert to enforce interface constraints. However, assert is removed with compiling to optimised byte code (python -o producing *.pyo files). This caused...

bug

dhis2.py 2.0.2 -- 2.1.2 ``` from dhis2 import Api PROGRAM_UID = 'IpHINAT79UW' def get_data_no_paging(api, params): result = api.get(f'analytics/events/query/{PROGRAM_UID}', params=params).json() print(result['rows'][0]) def get_data_paging(api, params): for page in api.get_paged(f'analytics/events/query/{PROGRAM_UID}', params=params, page_size=100): print(page['rows'][0])...

bug

https://stackoverflow.com/questions/52725278/during-handling-of-the-above-exception-another-exception-occurred

enhancement

Thanks for the great library. Is it possible to schedule repeated unique jobs? My goal is to enqueue a job, ensure only one instance runs at a time, and re-enqueue...

Currently there is no basic documentation on actually installing the package and the optionals. ```bash pip install dash-auth ``` for OIDC support ```bash pip install "dash-auth[oidc]" ``` Maybe these should...

If we additionally check the coverage of the tests folder itself, we get only 98%: ```bash poetry run pytest --cov fastapi_azure_auth --cov=tests --cov-report=term-missing ``` ``` ---------- coverage: platform darwin, python...

question

# Race Condition in OpenID Configuration Refresh ## Describe the bug There's a potential race condition in the OpenID configuration refresh mechanism. When multiple concurrent requests try to refresh the...

question

**Describe the bug** When testing some warnings are emitted **To Reproduce** ```python poetry run pytest ``` ``` ========================================================================================================================== warnings summary ========================================================================================================================== tests/test_provider_config.py::test_http_error_old_config_found[asyncio] /Users/wdhuser/Library/Caches/pypoetry/virtualenvs/fastapi-azure-auth-LYhe6yHr-py3.12/lib/python3.12/site-packages/pytest_asyncio/plugin.py:380: DeprecationWarning: There is no current event loop...

question