MCPcopy Index your code
hub / github.com/pathwaycom/pathway / get_dtype

Function get_dtype

python/pathway/internals/schema.py:894–899  ·  view source on GitHub ↗
(dtype)

Source from the content-addressed store, hash-verified

892 """
893
894 def get_dtype(dtype) -> dt.DType:
895 if isinstance(dtype, str):
896 dtype = locate(dtype)
897 if isinstance(dtype, dict):
898 dtype = dt.parse_dtype_from_dict(dtype)
899 return dt.wrap(dtype)
900
901 def create_column_definition(entry):
902 if not isinstance(entry, dict):

Callers 1

create_column_definitionFunction · 0.85

Calls 1

wrapMethod · 0.80

Tested by

no test coverage detected