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

removing create_configuration and using generated code instead #15908

Closed
wants to merge 3 commits into from

Conversation

seankane-msft
Copy link
Member

Addresses #12743

@@ -231,7 +232,15 @@ def _create_pipeline(self, credential, **kwargs):
elif credential is not None:
raise TypeError("Unsupported credential: {}".format(credential))

config = kwargs.get("_configuration") or create_configuration(**kwargs)
config = kwargs.get("_configuration") or AzureTableConfiguration(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't see this whole code to create a pipeline, you don't really need to do that anymore

I would actually suggest taking a look at kv: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/client_base.py#L46. We used to have this same code, where we would list all the policies, etc, but we changed it to this. Should get rid of. all of this creating a pipeline / transport / config before calling into thegeneratedclient

@seankane-msft
Copy link
Member Author

/azp run python - tables - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants