Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/dns_data/models/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Record(BaseModel):
ipam_host: Optional[StrictStr] = Field(
default=None, description="The resource identifier.")
name_in_zone: Optional[StrictStr] = Field(
default='',
default=None,
Comment thread
rsingh4infoblox marked this conversation as resolved.
description=
"The relative owner name to the zone origin. Must be specified for creating the DNS resource record and is read only for other operations."
)
Expand Down Expand Up @@ -256,8 +256,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"ipam_host":
obj.get("ipam_host"),
"name_in_zone":
obj.get("name_in_zone")
if obj.get("name_in_zone") is not None else '',
obj.get("name_in_zone"),
"options":
obj.get("options"),
"provider_metadata":
Expand Down
Loading