5 Commits

Author SHA1 Message Date
64f2a13e37 update to python3.10 (#29) 2023-05-03 17:10:55 +08:00
wu
d6cf5d8aef update the ruff rules and format the code 2023-04-25 14:43:53 +08:00
b9e4ac31eb Add environment variable management and fix Pydantic validation error (#15)
* Use env to manage important configurations and distinguish environments

* fix Pydantic validation error caused by None value in links field of Page class

* Production environment no longer exposes API docs

* Extract TOKEN_URL to conf
2023-04-21 20:10:07 +08:00
wu
9481500b27 update DependsSession to CurrentSession 2023-04-19 11:05:49 +08:00
wu
135074ec73 commit the base code 2023-04-19 11:05:49 +08:00