MCPcopy
hub / github.com/pydantic/pydantic / __new__

Method __new__

pydantic/v1/networks.py:184–185  ·  view source on GitHub ↗
(cls, url: Optional[str], **kwargs)

Source from the content-addressed store, hash-verified

182
183 @no_type_check
184 def __new__(cls, url: Optional[str], **kwargs) -> object:
185 return str.__new__(cls, cls.build(**kwargs) if url is None else url)
186
187 def __init__(
188 self,

Callers 7

_copyMethod · 0.45
__copy__Method · 0.45
__deepcopy__Method · 0.45
model_constructMethod · 0.45
__copy__Method · 0.45
__deepcopy__Method · 0.45
_copy_and_set_valuesFunction · 0.45

Calls 1

buildMethod · 0.45

Tested by

no test coverage detected