You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KdHyeon0661
changed the title
modify string formatting of sdk/keyvault/azure-keyvault/backup_restore_operations_async.py to f-string
modify string formatting of sample/backup_restore_operations_async.py to f-string
Jul 29, 2022
KdHyeon0661
changed the title
modify string formatting of sample/backup_restore_operations_async.py to f-string
f-stirng modify sample/backup_restore_operations_async.py
Sep 19, 2022
Is your feature request related to a problem? Please describe.
Replace str.format() with another method to improve the readability of source code.
Describe the solution you'd like
Change str.format() formatting of the source code to f-string formatting.
Describe alternatives you've considered
Before:
print("Key with name '{0}' created with key type '{1}'".format(key.name, key.key_type))
After:
print(f"Key with name '{key.name}' created with key type '{key.key_type}'")
Additional context
x
The text was updated successfully, but these errors were encountered: