Skip to content

Commit

Permalink
Fix: incorrect type hint on CustomData class (#686)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rodrigobeckmann authored and facebook-github-bot committed Dec 19, 2024
1 parent 66ed7ae commit b363ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion facebook_business/adobjects/serverside/custom_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def __init__(
item_number=None,
custom_properties={},
):
# type: (float, str, str, str, content_ids, List[str], List[Content], str, str, float, int, str, str, DeliveryCategory ,str, dict) -> None
# type: (float, str, str, str, List[str], List[Content], str, str, float, int, str, str, DeliveryCategory ,str, dict) -> None

self._value = None
self._currency = None
Expand Down

0 comments on commit b363ffa

Please sign in to comment.