Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/w/a/walletobjects-quickstart-python-HEAD/main.py   walletobjects-quickstart-python(Download)
  if jwt_type == 'loyalty':
    loyalty_obj = loyalty.generate_loyalty_object(
        config.ISSUER_ID, config.LOYALTY_CLASS_ID, config.LOYALTY_OBJECT_ID + obj_id)
    wob_payload_object.addWalletObjects(loyalty_obj, 'LoyaltyObject')
 
 
  if insert_type == 'loyalty':
    object_id = config.LOYALTY_CLASS_ID
    api_object = loyalty.generate_loyalty_class(
      config.ISSUER_ID, object_id)
    loyalty_object_id = linking_id if linking_id else config.LOYALTY_OBJECT_ID
    loyalty_object = loyalty.generate_loyalty_object(
        config.ISSUER_ID, config.LOYALTY_CLASS_ID, loyalty_object_id)
    jwt['payload']['loyaltyObjects'].append(loyalty_object)
  else: