Skip to content

Bug: Webhooks InstallationCreated field requester schema error #14

Closed
@birkjernstrom

Description

@birkjernstrom

Hi,

First of all: Thanks for an amazing effort and contribution creating this library! I had the same idea a few weeks ago before I fortunately stumbled over this one <3

Issue

  • Receiving a Webhook of type installation.created
  • requester is null (None) in the webhook received
  • Pydantic throws a validation error that requester cannot be None

Proposal

Change template to expand Unset to Unset, None within the Union type definitions and set None as the default? Or change the validator to check for is None as well UNSET?

Metadata

Metadata

Assignees

No one assigned

    Labels

    WebHookbugSomething isn't workingschemaschema related

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions