Project

General

Profile

Bug #7166

Updated by Brett Smith almost 8 years ago

 
 This invalid filter 

 <pre>api_client.collections().list(filters=[['portable_data_hash', api_client.collections().list(filters=[['portable_data_hash', 'somepdhoranother+size']], select=['portable_data_hash', 'uuid'], limit=100000).execute()</pre> limit=100000).execute() 

 is simply ignored; the query above returns all collections. Our SDK should probably throw an exception - or at least print a warning when an invalid filter is ignored. 

 <pre>api_client.collections().list(filters=[['portable_data_hash', api_client.collections().list(filters=[['portable_data_hash', '=', 'somepdhoranother+size']], select=['portable_data_hash', 'uuid'], limit=100000).execute()</pre> limit=100000).execute() 

 the above filter is correct and works as expected.

Back