clearml-server/server/apierrors/autogen/__init__.py
2019-06-11 00:24:35 +03:00

5 lines
180 B
Python

def generate(path, error_codes):
from .generator import Generator
from pathlib import Path
Generator(Path(path) / 'errors', format_pep8=False).make_errors(error_codes)