mylesai commited on
Commit
a8f9a54
1 Parent(s): c7a6da7

Update bf_trigger.py

Browse files
Files changed (1) hide show
  1. bf_trigger.py +3 -0
bf_trigger.py CHANGED
@@ -300,12 +300,15 @@ def create_ai_asset(asset_dict, topical_map, collection_name, new_imgs, tags=Tru
300
  Input: name of initial asset, name of client, path to image, create tags boolean
301
  Output: id of asset
302
  '''
 
303
  # results from asset_dict
304
  topical_map = get_topical_map_text(topical_map)
305
  client_name = asset_dict['client_name']
306
  access_key = asset_dict['access_key']
307
  client_key = client_key_dict[collection_name]
308
  if client_name != collection_name and access_key != client_key:
 
 
309
  return
310
 
311
  asset_name = asset_dict['asset_name']
 
300
  Input: name of initial asset, name of client, path to image, create tags boolean
301
  Output: id of asset
302
  '''
303
+ print(asset_dict)
304
  # results from asset_dict
305
  topical_map = get_topical_map_text(topical_map)
306
  client_name = asset_dict['client_name']
307
  access_key = asset_dict['access_key']
308
  client_key = client_key_dict[collection_name]
309
  if client_name != collection_name and access_key != client_key:
310
+ print(f'{collection_name} != {client_name}')
311
+ print(f'{access_key} != {client_key}')
312
  return
313
 
314
  asset_name = asset_dict['asset_name']