Skip to content

docs/typing: validate method should support event as Any type #401

Closed
@michaelbrewer

Description

@michaelbrewer

Problem

In some cases you want to use validate for something internal, like a downstream api call with returns a list of data:

Screen Shot 2021-04-17 at 2 52 47 PM

Currently validate type hints event as only a Dict, but it might be a List or Tuple etc..

Solution?

Just type event as Any

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions