Skip to content

Running async procedure in custom validator #499

@rmedaer

Description

@rmedaer

Hi,

I'm using jsonschema for a while... Going deeper in schema validation I figured out that I can define my own validation procedures.(Thanks Radek Lat for his nice article)

So one of the feature I'd like to use is the custom validators. However (in my use case), it would be useful only if I can run asynchronous task. Furthermore I'm running validation from a coroutine.

So here is my question: How can I execute async calls in a custom validator ? Does the generator can help me ?

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