8000 time as python datetime in query result · Issue #317 · influxdata/influxdb-python · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
time as python datetime in query result #317
Open
@aewallin

Description

@aewallin

a helper function that would produce python datetimes from the influxdb time-stamp would be useful.

I tried cutting the time text-field at microsecond resolution, but it seems trailing zeros are not stored in influxdb so the returned time-string can have variable precision (milli, micro, nano) with anything from 0 to 9 digits after the decimal point.

a further enhancement would be to provide a datetime subclass with nanosecond resolution.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0