19th November 2021
New: Limit concurrency.
sem = asyncio.Semaphore(10) async with sem: # work with shared resource
On Python 3.9 and newer you can use the
removesuffixmethods to remove an entire substring from either side of the string:
url = 'abcdc.com' url.removesuffix('.com') # Returns 'abcdc' url.removeprefix('abcdc.') # Returns 'com'
On Python 3.8 and older you can use
url = 'abcdc.com' if url.endswith('.com'): url = url[:-4]
New: Field customization.
Fieldfunction can be used to provide extra information about the field and validations. Such as the
descriptionand many others
New: Introduce the Tenacity python library.
Tenacity is an Apache 2.0 licensed general-purpose retrying library, written in Python, to simplify the task of adding retry behavior to just about anything.