get_optional_annotation

Signature:

def get_optional_annotation(annotation: Type) -> Type:
...

Parameters:

  1. annotation:

    Type
    Type