MCPcopy Create free account
hub / github.com/Flagsmith/flagsmith / ChargebeeObjMetadata

Class ChargebeeObjMetadata

api/organisations/chargebee/metadata.py:7–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6
7class ChargebeeObjMetadata(BaseSubscriptionMetadata):
8 payment_source = CHARGEBEE # type: ignore[assignment]
9
10 def __mul__(self, other): # type: ignore[no-untyped-def]
11 if not isinstance(other, int):
12 raise TypeError("Unable to multiply by anything other than an integer.")
13
14 return ChargebeeObjMetadata(
15 **{k: v * other if v else v for k, v in self.__dict__.items()}
16 )
17
18
19class ChargebeeItem(Enum):

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…