Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get records before 2023-01-01 #130

Open
3 tasks done
isabellasoldner opened this issue Mar 11, 2024 · 0 comments
Open
3 tasks done

Cannot get records before 2023-01-01 #130

isabellasoldner opened this issue Mar 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@isabellasoldner
Copy link

Checklist

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of feo-client.

  • I have confirmed this bug exists on the main branch of feo-client.

Reproducible Example

records = []
for id in assets.id.unique():
  record_collection = RecordCollection.search(
      id,
      valid_timestamp_start="2023-01-01 00:00:00",
      datum_type=["production"],
      limit=1000
  )
  records.append(record_collection)
records = pd.concat(records)

# Can't get records within a date range !!
# Can't get records with valid_timestamp_start before 2023-01-01 !!!

records = records[records.valid_timestamp_start < "2023-02-15 00:00:00"]

Issue Description

Cannot get records with timestamps before 2023-01-01. This is definitely present in the database so is a bug.

Expected Behavior

Be able to access data with timestamps before 2023

@isabellasoldner isabellasoldner added the bug Something isn't working label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant