Skip to content

No support for UseDevelopmentStorage=true on connection string #25407

Description

@LuckyLub
  • Package Name: azure-data-tables
  • Package Version: 12.4.0
  • Operating System: Ubuntu
  • Python Version: 3.9

Describe the bug
It's not possible to call the TableServiceClient.from_connection_string() method with UseDevelopmentStorage=true as input, which is basicaly same issue as issue 13100 in azure-sdk-for-js.

The solution to that issue also works here: when UseDevelopmentStorage=true is provided as the connection string it should use the following connection string instead: DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;TableEndpoint=http://127.0.0.1:10002/devstoreaccount1

To Reproduce

from azure.data.tables import TableServiceClient

table_client = TableServiceClient.from_connection_string("UseDevelopmentStorage=true")

Expected behavior
Should connect to emulator.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.Tablescustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions