You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2022. It is now read-only.
Is your feature request related to a specific problem?
Per some discussion on this fidesplus PR -- it may make sense to standardize/centralize basic FastAPI server settings that can be used across any different fides FastAPI apps.
Describe the solution you'd like
Similar to our DatabaseSettings and SecuritySettings base config classes currently defined in fideslib, we'd have a ServerSettings (not wedded to the name) that includes FastAPI server config properties. Using the fidesplus implementation referenced above, a starting point for config properties may look like:
class ServerSettings(Settings):
host: str = Field("localhost")
hot_reload: bool = Field(False, exclude=True)
port: int = Field(8080)
request_rate_limit: str = Field("100/minute")
Is your feature request related to a specific problem?
Per some discussion on this
fidesplusPR -- it may make sense to standardize/centralize basic FastAPI server settings that can be used across any differentfidesFastAPI apps.Describe the solution you'd like
Similar to our
DatabaseSettingsandSecuritySettingsbase config classes currently defined infideslib, we'd have aServerSettings(not wedded to the name) that includes FastAPI server config properties. Using thefidesplusimplementation referenced above, a starting point for config properties may look like: