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

f-string formatting keyvault/azure-keyvault-keys/samples/list_operations.py #6

Closed
lbhsos opened this issue Jul 26, 2022 · 0 comments
Closed

Comments

@lbhsos
Copy link

lbhsos commented Jul 26, 2022

Is your feature request related to a problem? Please describe.
가독성이 떨어져서 f-string 으로 바꾸면 성능도 더 좋아지고, 가독성도 좋아질 것 같습니다.

"Key with name '{0}' with type '{1}' was found.".format(retrieved_key.name, retrieved_key.key_type)

Describe the solution you'd like

"Key with name f'{retrieved_key.name}' with type f'{retrieved_key.key_type}' was found."

Describe alternatives you've considered
...

Additional context
...

@lbhsos lbhsos changed the title /Users/bohyun/Desktop/Work/python/azure-sdk-for-python/sdk/keyvault/azure-keyvault-keys/samples/list_operations.py azure-sdk-for-python/sdk/keyvault/azure-keyvault-keys/samples/list_operations.py Jul 26, 2022
@lbhsos lbhsos changed the title azure-sdk-for-python/sdk/keyvault/azure-keyvault-keys/samples/list_operations.py f-string keyvault/azure-keyvault-keys/samples/list_operations.py Jul 26, 2022
@lbhsos lbhsos changed the title f-string keyvault/azure-keyvault-keys/samples/list_operations.py f-string formatting keyvault/azure-keyvault-keys/samples/list_operations.py Jul 26, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jul 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants