File: __init__.py

package info (click to toggle)
python-aio-pika 9.5.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 1,460 kB
  • sloc: python: 8,003; makefile: 37; xml: 1
file content (12 lines) | stat: -rw-r--r-- 220 bytes parent folder | download | duplicates (3)
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)