anonymousland-synapse/synapse/rest/media/v1
Erik Johnston b5efcb577e
Make it possible to use dmypy (#9692)
Running `dmypy run` will do a `mypy` check while spinning up a daemon
that makes rerunning `dmypy run` a lot faster.

`dmypy` doesn't support `follow_imports = silent` and has
`local_partial_types` enabled, so this PR enables those options and
fixes the issues that were newly raised. Note that `local_partial_types`
will be enabled by default in upcoming mypy releases.
2021-03-26 16:49:46 +00:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
_base.py Use the proper Request in type hints. (#9515) 2021-03-01 12:23:46 -05:00
config_resource.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
download_resource.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
filepath.py Add type hints to media rest resources. (#9093) 2021-01-15 10:57:37 -05:00
media_repository.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
media_storage.py Return a 404 if we don't have the original file 2021-02-19 10:46:18 +00:00
preview_url_resource.py Make it possible to use dmypy (#9692) 2021-03-26 16:49:46 +00:00
storage_provider.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
thumbnail_resource.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00
thumbnailer.py Handle image transparency better when thumbnailing. (#9473) 2021-03-09 07:37:09 -05:00
upload_resource.py Import HomeServer from the proper module. (#9665) 2021-03-23 07:12:48 -04:00