Skip to content

Commit

Permalink
modified models
Browse files Browse the repository at this point in the history
  • Loading branch information
VishrutiBuddhadev committed Jan 22, 2025
1 parent 4976708 commit 6a9308e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/dns_config/models/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
obj.get("protocol_absolute_name"),
"provider_id":
obj.get("provider_id"),
"server":
obj.get("server") if obj.get("server") is not None else '',
"site_id":
obj.get("site_id"),
"tags":
Expand Down
3 changes: 0 additions & 3 deletions src/dns_data/models/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
if obj.get("inheritance_sources") is not None else None,
"ipam_host":
obj.get("ipam_host"),
"name_in_zone":
obj.get("name_in_zone")
if obj.get("name_in_zone") is not None else '',
"options":
obj.get("options"),
"provider_metadata":
Expand Down

0 comments on commit 6a9308e

Please sign in to comment.