mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-01 23:12:21 +00:00
update docstrings and readme
This commit is contained in:
2
openbb_platform/platform/core/README.md
vendored
2
openbb_platform/platform/core/README.md
vendored
@@ -355,7 +355,7 @@ To apply an environment variable use one of the following:
|
||||
|
||||
The variables we use are:
|
||||
|
||||
- `OPENBB_API_AUTH`: enables API authentication for command endpoints
|
||||
- `OPENBB_API_AUTH`: enables API endpoint authentication
|
||||
- `OPENBB_API_USERNAME`: sets API username
|
||||
- `OPENBB_API_PASSWORD`: sets API password
|
||||
- `OPENBB_API_AUTH_EXTENSION`: specifies which authentication extension to use
|
||||
|
||||
@@ -19,7 +19,7 @@ class Env(metaclass=SingletonMeta):
|
||||
|
||||
@property
|
||||
def API_AUTH(self) -> bool:
|
||||
"""API authentication: enables commands authentication in FastAPI"""
|
||||
"""API authentication: enables API endpoint authentication"""
|
||||
return self.str2bool(self._environ.get("OPENBB_API_AUTH", False))
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user