Azure / Azure/azure-sdk-for-python

Table API query results no Timestamp property

Aperta
#25,403 10 commenti 1 reazione 1 assegnatario Assegnata a @annatisch Vedi su GitHub
auto-close-exempt Client customer-reported feature-request needs-team-attention Tables
Lingua principale
Python
Stelle
5.6k
Fork
3.4k
Merge medio
2g
PR unite (30g)
217

Descrizione

- **Package Name**: azure-data-tables
- **Package Version**: 12.4.0
- **Operating System**: MacOS Monterey 12.5
- **Python Version**: 3.9.13

**Describe the bug**
When I query table entities, I don't get Timestamp in the outputs. When I try to access Timestamp directly from the entity, I got AttributeError: 'TableEntity' object has no attribute 'Timestamp'.

**To Reproduce**
filter = f"SpaceId eq '{space_id}' and DataType eq '{data_type}'"
entities = client.query_entities(query_filter=filter)

[entity.Timestamp for entity in entities]

**Expected behavior**
Timestamp property should be part of the query results if select properties is not specified.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.