File size: 211 Bytes
cb5b71d
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
"""Module to handle naming of RecordSets and distribution."""


def find_unique_name(names: set[str], name: str):
    """Find a unique UID."""
    while name in names:
        name = f"{name}_0"
    return name