Skip to content

Commit 77ae3d1

Browse files
committed
Add new optional attribute for Destination
This commit introduces a the new attribute `vhd_check_base_sas_only` for `Destination` which will be used to inform whether to perform a base SAS check only on VHD images or not (full SAS comparison). Signed-off-by: Jonathan Gangi <jgangi@redhat.com>
1 parent 14ac5c4 commit 77ae3d1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

starmap_client/models.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,10 @@ class Destination(StarmapBaseData["Destination"]):
184184
)
185185
"""Dictionary with custom tags to be set on cloud marketplaces resources."""
186186

187+
vhd_check_base_sas_only: Optional[bool] = field(validator=instance_of(bool), default=False)
188+
"""Whether to compare the base SAS URI by ignoring its parameters (True) or not (False).
189+
Defaults to ``False``."""
190+
187191

188192
def _to_to_dist_destination(x: Any) -> List[Destination]:
189193
return [Destination.from_json(d) for d in x] if x else []

0 commit comments

Comments
 (0)