Skip to content

Commit 82400ba

Browse files
committed
Make mypy happy
Ignore the fact that one of the elements of the union doesn't have `product_id`, as `ProductProperty` has it. Refers to SPSTRAT-633 Signed-off-by: Jonathan Gangi <[email protected]>
1 parent bbf8dd3 commit 82400ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudpub/ms_azure/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ def get_modular_resources_to_publish(
585585
[
586586
prop
587587
for prop in self.filter_product_resources(product=product, resource="property")
588-
if prop.product_id == product_id
588+
if prop.product_id == product_id # type: ignore [union-attr]
589589
],
590590
)[0]
591591
plan_res = cast(

0 commit comments

Comments
 (0)