Block a user
045de9f59e
Replaced importing the "typing" module as "t" with importing the individual names in the "typing" module. Since Python 3.9 introduced type hinting generics in standard collections, we do not have as many names to import now. This is also to be consistent with the practices of most major and standard packages and examples.
264ba158ee
Updated minimal Python version to 3.8. As "typing.Literal" is used from the beginning of the project, it is never compatible with Python 3.7. I suppose it was ignored by Python 3.7 when importing the "typing" package but not the name "Literal" itself for type hints.
8c58a9083a
Added type hint subscription for the cls parameter of the new_id function.
f45663754c
Fixed the documentation of the "accounting.utils.random_id" module.
cda9e4e3c6
Replaced importing the "typing" module as "t" with importing the individual names in the "typing" module. Since Python 3.9 introduced type hinting generics in standard collections, we do not have as many names to import now. This is also to be consistent with the practices of most major and standard packages and examples.
ee5b447c23
Renamed the "journal_entry_date" variable to "date" in the "__form" method of the JournalEntryData class in the lib module of the test site.
25bfcf4aa4
Fixed the documentation of the balance pseudo property of the JournalEntryLineItem data model.
5956d2cd4c
Renamed the "match" parameter to "value" in the setter of the "match" pseudo property of the JournalEntryLineItem data model, for consistency.
833285d924
Renamed the "is_offset" parameter to "value" in the setter of the "is_offset" pseudo property of the JournalEntryLineItem data model, for consistency.
dee4f5e83f
Renamed the "balance" parameter to "value" in the setter of the "balance" pseudo property of the JournalEntryLineItem data model, for consistency.
e083b11394
Removed the random_pk type alias, because autoincrement=False does not seem to work with it.
167990fc4c
Renamed the random_id type alias to random_pk.
d5c1be3d80
Rewrote the data model declaration of the test site with the mapped type hint and the mapped columns in SQLAlchemy 2.0.
f6567794e0
Added the documentation to the authentication blueprint of the test site.
ded85d88f7
Added the timestamp, user_pk, and random_id type aliases to simplify the column definition of the data models.
d1fd0c3693
Simplified README.rst.
bc15a578cb
Added the change log.
cedff68247
Added the "VERSION" constant to the "flask_digest_auth" module for the package version, and revised "pyproject.toml" and "conf.py" to read the version from it.
86637267d3
Advanced to version 1.5.0.
71e97721aa
Removed the documentation link from the documentation in intro.rst. It does not make sense for a circular link to itself.
5815608288
Added the VERSION constant to the accounting module for the package version, and revised pyproject.toml and conf.py to read the version from it.