Peter C. Ndikuwera
Peter C. Ndikuwera
This took me many days of reading specs and comparing to other APIs. If you're using Bearer Auth then it's simple to set up. You just need to specify the...
Hey @ninjix this looks good but requires adding a dependency on every route. If building an API from scratch it would be worth a try for sure, but I had...
@agostof when I try your fix I get an error: ``` File "pydantic/main.py", line 832, in pydantic.main.BaseModel.update_forward_refs File "pydantic/typing.py", line 382, in pydantic.typing.update_field_forward_refs File "pydantic/typing.py", line 62, in pydantic.typing.evaluate_forwardref File...
If anyone is still looking into using this, then the proper patch is this: Edit file `openapi-python-templates/__init__package.mustache` ``` python if model[1].__module__ == "@[email protected]": model_class = model[1] if isinstance(model_class, BaseModel) or...
Any update on this?
> After I added this dependencie to the first route, the Authorize button appeared. And I don't see a problem in adding dependencies to every route you want to secure,...
The very first page of the documentation says that's how to protect an endpoint: https://indominusbyte.github.io/fastapi-jwt-auth/usage/basic/ HOWEVER I think this "issue" is now being dragged into different directions. The original bug...
Zabbix's API changed (https://support.zabbix.com/browse/ZBX-7781) and this code wasn't updated. Here's a patch that works for me: ``` diff --git a/lib/php/PhpZabbixApi_Library/ZabbixApiAbstract.class.php b/lib/php/PhpZabbixApi_Library/ZabbixApiAbstract.class.php index fde99d9..c8ea993 100644 --- a/lib/php/PhpZabbixApi_Library/ZabbixApiAbstract.class.php +++ b/lib/php/PhpZabbixApi_Library/ZabbixApiAbstract.class.php @@ -208,13...
You need to edit the file `flask_nav/__init__.py` and change line 49 to `class ElementRegistry(collections.abc.MutableMapping):` The library is pretty old so I just created my one fork and will start looking...