Closed rrzaripov closed 1 year ago
Hello @rrzaripov i guess this one will work on fixing this https://github.com/pydantic/pydantic-extra-types/pull/79
Thanks @yezz123 in this case I will put my eyes on this pull.
Thanks @yezz123 in this case I will put my eyes on this pull.
Its Merged 👍🏻
I guess its working fine now
from pydantic import BaseModel
from pydantic_extra_types.mac_address import MacAddress
class Network(BaseModel):
mac_address: MacAddress
network = Network(mac_address='00:00:5e:00:53:01')
print(network.mac_address)
using:
pydantic-extra-types@git+https://github.com/pydantic/pydantic-extra-types.git@main
Hi, I'm get ModuleNotFoundError while import of mac_adderess:
Somebody can confirm or problem only on my side? Thanks in advance!
Selected Assignee: @hramezani