This repository was archived by the owner on Jan 20, 2024. It is now read-only.
This repository was archived by the owner on Jan 20, 2024. It is now read-only.
support contains operator #44
Open
Description
In the schema, contains appears to be a valid SimpleOperator:
https://github.com/ExactTarget/FuelSDK-Python/blob/855ca7d31788004c67dcc20b7ed9e951d707c008/FuelSDK/ExactTargetWSDL.xml#L490-L515
but the code:
import FuelSDK
client = FuelSDK.ET_Client(
params=dict(clientid=CLIENT_ID, clientsecret=CLIENT_SECRET)
)
event = FuelSDK.ET_Email()
event.auth_stub = client
event.search_filter = {'Property': 'name', 'SimpleOperator': 'contains', 'Value': 'test'}
response = event.get()
print response.message
results in
Error: "contains" is not a valid SimpleOperator for a retrieve Filter.
Metadata
Metadata
Assignees
Labels
No labels