Open KronosDev-Pro opened 2 weeks ago
hm... why not just use Pydantic Config package?
hm... why not just use Pydantic Config package?
Basically, dataclasses
is a native package that brings simplicity, performance and more customization possibilities. What's more, for this type of configuration, it doesn't need the validation and serialization/deserialization provided by pydantic
.
Idea
Customize the backend server configuration as you like, and create a complete new backend server support.
Example
We can define which
BackendServer
to use fordevelopment
andproduction
modes and thus customize the configuration (all parameters for eachBackendServer
are the actual parameters corresponding to the web server involved).We can also create a customized
BackendServer
with theCustomBackendServer
class, such asGranianBackendServer
All Submissions:
Type of change
New Feature Submission:
Changes To Core Features: