mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2025-12-26 17:02:24 +01:00
Revert part of "fix pycharm hints" that broke something
This commit is contained in:
@@ -1294,13 +1294,11 @@ def string_impl(p):
|
||||
|
||||
|
||||
def unique(
|
||||
original: str,
|
||||
desired: str,
|
||||
attempts: int = 0,
|
||||
assigned=None,
|
||||
original: str,
|
||||
desired: str,
|
||||
attempts: int = 0,
|
||||
assigned: dict[str, str] = {},
|
||||
) -> str:
|
||||
if assigned is None:
|
||||
assigned = {}
|
||||
if original in assigned:
|
||||
return assigned[original]
|
||||
candidate = desired + ("" if attempts == 0 else str(attempts))
|
||||
|
||||
Reference in New Issue
Block a user