File: __init__.py

package info (click to toggle)
python-aio-pika 9.5.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,428 kB
  • sloc: python: 8,009; makefile: 36; xml: 1
file content (12 lines) | stat: -rw-r--r-- 220 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
from typing import Any

import shortuuid


def get_random_name(*args: Any) -> str:
    prefix = ["test"]
    for item in args:
        prefix.append(item)
    prefix.append(shortuuid.uuid())

    return ".".join(prefix)