mar10 / wsgidav

A generic and extendable WebDAV server based on WSGI
https://wsgidav.readthedocs.io
MIT License
978 stars 150 forks source link

Fix return type annotation on `get_creation_date()` #304

Closed jwodder closed 10 months ago

jwodder commented 10 months ago

_DAVResource.get_creation_date() is annotated as returning Optional[datetime], but _DAVResources.get_property_value() passes the method's return value to get_rfc3339_time(), which requires a Unix timestamp instead.

mar10 commented 10 months ago

Thanks for contributing. There is still a lint error that we need to fix before merging

jwodder commented 10 months ago

@mar10 Lint resolved.