25th August 2021
Computer Science⚑
Programming⚑
(../python_basics.md)⚑
-
New: Issubclass.
(https://docs.python.org/3/library/functions.html#issubclass): Return
True
ifclass
is a subclass (direct, indirect or virtual) ofclassinfo
. A class is considered a subclass of itself.classinfo
may be a tuple of class objects, in which case every entry inclassinfo
will be checked. In any other case, aTypeError
exception is raised.
(../fastapi.md)⚑
- Improvement: Wrapping imported functions.
-
New: Dependency injection.
A FastAPI decorated function can import the necessary arguments for other functions or objects.
(../computer_science/programming/python/typing.md)⚑
-
New: Type.
Type
: Accepts instances of theClass
and theClass
itself.