module documentation

This module contains some utils for tags

Function get_tag Given a classpath and a value of a tag, returns the corresponding tag.
Function parse_tag Parse a tag
Variable _str_tag2tag Undocumented
Variable _tag_mapping Undocumented
def get_tag(classpath, value):

Given a classpath and a value of a tag, returns the corresponding tag.

Parameters
classpath:strthe classpath
value:strthe value of the tag
Returns
Optional[Tag]The tag
def parse_tag(tag_obj):

Parse a tag

Parameters
tag_obj:Union[dict, str]a dict or a string to parse
Returns
Optional[Tag]the tag associated
_str_tag2tag: Mapping[str, Type[Enum]] =

Undocumented

_tag_mapping: Dict[str, Type[Enum]] =

Undocumented