0.6 final

This commit is contained in:
Athena Funderburg committed 2026-11-04 14:03:18 +00:00
1 parent 7c0581eb97
commit b89e1932bb
160 files changed
+20534 -4664

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import os
from insclient import INSClient
import settings
def ins_client(identifier: str = 'AzuL-SERV') -> INSClient:
host = ('127.0.0.1' if settings.INS_HOST in ('0.0.0.0', '::', '') else settings.INS_HOST)
return INSClient(
identifier, key_file = os.path.join(settings.INS_KEY_DIR, '{}.client.key'.format(identifier.lower())),
enrollment_code = os.environ.get('INS_ENROLLMENT_CODE') or None, host = host, port = settings.INS_PORT, keepalive = False,
client_name = 'azul-script', client_version = settings.VERSION, label = 'azul scripts',
)