I’ve tried to make something like this to the Azure block:
class GzippedAzure(Azure):
...
It seems to work just fine, but I get this warning during runtime and it got me wondering if this is the right way to do this:
/lib/python3.10/site-packages/prefect/utilities/dispatch.py:162: UserWarning: Type ‘GzippedAzure’ at ./blocks/gzipped_azure.py:8 has key ‘azure’ that matches existing registered type ‘Azure’ from /home/ivarec/.local/lib/python3.10/site-packages/prefect/filesystems.py:585. The existing type will be overridden.
So, what’s the right way to do this?