az storage entity query --accept always returns none
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
az storage entity query --accept does not appear to work.
Regardless of whether the --accept parameter is set to full, minimal or none, the output is returned as if -accept was set to none.
e.g. if --accept is set to full, this snippet is returned:
```
{
"value": [
{
"PartitionKey": "INDEX_0",
```
instead of this:
```
{
"odata.metadata": "https://myaccount.table.core.windows.net/$metadata#mytable",
"value": [
{
"odata.type": "myaccount.myTable",
"odata.id": "https://myaccount.table.core.windows.net/myTable(PartitionKey='INDEX_0',RowKey='00000000000000000000000000000000000')",
"odata.etag": "W/\"datetime'2021-05-24T00%3A25%3A06.7804907Z'\"",
"odata.editLink": "myTable(PartitionKey='INDEX_0',RowKey='00000000000000000000000000000000000')",
"PartitionKey": "INDEX_0",
```
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 9a4d128f-a98f-d07b-0183-90ca79cc5fdc
* Version Independent ID: 83084fff-ea1b-a9e7-b7a9-40023de43542
* Content: [az storage entity](https://docs.microsoft.com/en-us/cli/azure/storage/entity?view=azure-cli-latest)
* Content Source: [latest/docs-ref-autogen/storage/entity.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/master/latest/docs-ref-autogen/storage/entity.yml)
* Service: **storage**
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**
Contributor guide
Assessment
This issue has not been assessed yet.