Skip to content
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
@adamgreenhall

Description

@adamgreenhall

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions