Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Allow setting datastream timestamps on create or update #9

Merged
merged 3 commits into from
Jun 12, 2013

Conversation

smulube
Copy link
Contributor

@smulube smulube commented Jun 12, 2013

No description provided.

Sam Mulube added 2 commits June 12, 2013 14:52
This is permitted by the API, and makes certain types of updates simpler
to code, i.e. when you want to send your own timestamp for a single
value you know don't have to create an extra Datapoint instance to wrap
that update in.
@@ -163,7 +164,7 @@ class Datastream(Base):
_datapoints_manager = None

def __init__(self, id, tags=None, unit=None, min_value=None,
max_value=None, current_value=None, datapoints=None):
max_value=None, current_value=None, datapoints=None, at=None):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation...

errordeveloper added a commit that referenced this pull request Jun 12, 2013
Allow setting datastream timestamps on create or update
@errordeveloper errordeveloper merged commit 4757960 into xively:master Jun 12, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants