Azure / Azure/azure-sdk-for-python

Table API query results no Timestamp property

Abierto
#25,403 10 comentarios 1 reacción 1 asignado Asignado a @annatisch Ver en GitHub
auto-close-exempt Client customer-reported feature-request needs-team-attention Tables
Lenguaje dominante
Python
Estrellas
5.6k
Forks
3.4k
Merge medio
2 d 2 h
PR fusionados (30 d)
213

Descripción

- **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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.