Skip to content

Cannot create calendar event by AsyncDAVClient #631

@OlegYurchik

Description

@OlegYurchik

When I try to use add_event by AsyncDAVClient I got an exception:

Image

It raises because in code when returning save result we checking url of result, but result can be coroutine if client is async

https://github.com/python-caldav/caldav/blob/master/caldav/collection.py#L843

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions