Josip Delić
Josip Delić
or even better use `any` or `all`: ```python cond = {"combinator": any, "scopes": ["role_admin", "super_admin"]} @app.get("/access/") def secure_access(scope=Depends(auth.scope(cond))): return f"Hello {scope}" ```
LGTM; I like it. Will try to use your implementation when i have the time to test it :/
Here a snippet i build https://stackoverflow.com/a/47497182/1154966
My current workflow loks like this: 1.) Finde the cheapest region 2.) Find a ubuntu image for that region 3.) Connect to it and setup the box and do some...
run into the same error `def` -> memory leak `async def` -> no memory leak thanks @curtiscook
@munjalpatel [1] there you see that every route that is not async will be executed in a separate thread ... the problem is that it used to use by default...
Tl;dr Works > We had the same problem yesterday. We solved it by downgrading wine from wine-testing to wine-stable. Longer version: I run into the same problem when updating https://github.com/delijati/docker-shiv...
There was already a solution to that https://github.com/Pylons/colander/pull/258
in https://github.com/Pylons/colander/pull/258 a contributor had to sign and did not do it ...
Sweet i run into that same problem, thanks so far. If it doesn't hurt it should be added.