Skip to content

Commit b363ffa

Browse files
Fix: incorrect type hint on CustomData class (#686)
Summary: Removed an additional type hint that was causing 'self' to be incorrectly typed as a float. This fix ensures that 'self' is properly typed and the method behaves as expected. Pull Request resolved: #686 Reviewed By: liliarizona Differential Revision: D67467927 Pulled By: stcheng fbshipit-source-id: 742e8f8d717de894b364499dcd2ef1b9a2bb5038
1 parent 66ed7ae commit b363ffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

facebook_business/adobjects/serverside/custom_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def __init__(
6565
item_number=None,
6666
custom_properties={},
6767
):
68-
# type: (float, str, str, str, content_ids, List[str], List[Content], str, str, float, int, str, str, DeliveryCategory ,str, dict) -> None
68+
# type: (float, str, str, str, List[str], List[Content], str, str, float, int, str, str, DeliveryCategory ,str, dict) -> None
6969

7070
self._value = None
7171
self._currency = None

0 commit comments

Comments
 (0)