How to register webhook with python sdk?

Is it possible to register webhooks using the Python SDK, or is it necessary to use a custom GraphQL query for webhook registration?