We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regarding the paramter disable_for of AppAPIAuthMiddleware applied in
disable_for
nc_py_api/nc_py_api/ex_app/integration_fastapi.py
Line 250 in 1e667d4
If you want to define a list of patterns of urls that should be ignored than you need to iterate over this list as the functions signature is
fnmatch.fnmatch(names, pattern)
(and not as one might expect
fnmatch.fnmatch(patterns, name)
see https://docs.python.org/3/library/fnmatch.html#fnmatch.filter)
The text was updated successfully, but these errors were encountered:
Update integration_fastapi.py (#357)
ebce575
Correct usage of fnmatch for ignoring some paths Fixes #356 . Signed-off-by: Berengar W. Lehr <Berengar.Lehr@uni-jena.de>
Do you already have plans when this fix will be released?
Sorry, something went wrong.
The fix is live.
Successfully merging a pull request may close this issue.
Regarding the paramter
disable_for
of AppAPIAuthMiddleware applied innc_py_api/nc_py_api/ex_app/integration_fastapi.py
Line 250 in 1e667d4
If you want to define a list of patterns of urls that should be ignored than you need to iterate over this list as the functions signature is
(and not as one might expect
see https://docs.python.org/3/library/fnmatch.html#fnmatch.filter)
The text was updated successfully, but these errors were encountered: