Skip to content

Commit

Permalink
Removed record and host changes
Browse files Browse the repository at this point in the history
  • Loading branch information
unasra committed Jan 23, 2025
1 parent be5cc43 commit 4471080
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/dns_config/models/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ class Host(BaseModel):
default=None, description="Host FQDN in punycode.")
provider_id: Optional[StrictStr] = Field(
default=None, description="External provider identifier.")
server: Optional[StrictStr] = Field(description="The resource identifier.")
server: Optional[StrictStr] = Field(default=None,
description="The resource identifier.")
site_id: Optional[StrictStr] = Field(default=None,
description="Host site ID.")
tags: Optional[Dict[str,
Expand Down
4 changes: 3 additions & 1 deletion src/dns_data/models/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ class Record(BaseModel):
default=None, description="The inheritance configuration.")
ipam_host: Optional[StrictStr] = Field(
default=None, description="The resource identifier.")
name_in_zone: Optional[StrictStr] = Field(description=
name_in_zone: Optional[StrictStr] = Field(
default=None,
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."
)
options: Optional[Dict[str, Any]] = Field(
Expand Down

0 comments on commit 4471080

Please sign in to comment.