python - Pyxero invoice filter doesn't work -


i'm using pyxero download invoices, following code pulls out invoices before datetime:

import xero ckey = 'xxxxxxxxxxxxxxxxxxxxxxx' #link private rsa key open('privatekey.pem') keyfile:     rsa_key = keyfile.read()  credentials = privatecredentials(ckey, rsa_key) xero = xero(credentials)  invoices = xero.invoices.filter(since=datetime.datetime(2015,4,1)) 

has used pyxero invoice filter in request? our company has many invoices , doing request no filter causes segmentation fault.

thanks

that filter returning invoices last modified since specified date (it uses if-modified-since http header). have tested code , works me, perhaps might filtering on wrong date field?


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -