browsertrix/backend/btrixcloud
Ilya Kreymer 6384d8b5f1
Additional Type Hints / Type Fix Pass (#1320)
This PR adds more type safety to the backend codebase:
- All ops classes calls should be type checked
- Avoiding circular references with TYPE_CHECKING conditional
- Consistent UUID usage: uuid.UUID / UUID4 with just UUID
- Crawl states moved to models, made into lists
- Additional typing added as needed, fixed a few type related errors
- CrawlOps / UploadOps / BaseCrawlOps now all have same param init order
to simplify changes
2023-10-30 12:59:24 -04:00
..
migrations Storage Refactor: Replication + Custom Storage Support (#1296) 2023-10-26 21:44:09 -07:00
templates Storage Refactor: Replication + Custom Storage Support (#1296) 2023-10-26 21:44:09 -07:00
__init__.py
auth.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
basecrawls.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
colls.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
crawlconfigs.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
crawlmanager.py Storage Refactor: Replication + Custom Storage Support (#1296) 2023-10-26 21:44:09 -07:00
crawls.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
db.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
emailsender.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
invites.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
k8sapi.py Storage Refactor: Replication + Custom Storage Support (#1296) 2023-10-26 21:44:09 -07:00
main_op.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
main.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
models.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
operator.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
orgs.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
pagination.py Move pydantic models to separate module + refactor crawl response endpoints to be consistent (#983) 2023-07-20 13:05:33 +02:00
profiles.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
storages.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
uploads.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
users.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
utils.py Add slugs to org backend (#1250) 2023-10-10 18:30:09 -07:00
version.py version: bump to 1.8.0-beta.1 2023-10-27 14:35:24 -07:00
webhooks.py Additional Type Hints / Type Fix Pass (#1320) 2023-10-30 12:59:24 -04:00
zip.py Fix: Stream log downloading from WACZ (#1225) 2023-09-28 18:54:52 -07:00