def server(version=False, **kwargs): if version: print(f"edb, version {buildmeta.get_version()}") sys.exit(0) os.environ['EDGEDB_DEBUG_SERVER'] = '1' debug.init_debug_flags() srv_main.server_main(insecure=True, **kwargs)
def server(version=False, **kwargs): if version: print(f"edb, version {buildmeta.get_version()}") sys.exit(0) os.environ['EDGEDB_DEBUG_SERVER'] = '1' debug.init_debug_flags() kwargs['security'] = srv_args.ServerSecurityMode.InsecureDevMode logsetup.setup_logging(kwargs['log_level'], kwargs['log_to']) srv_main.server_main(**kwargs)
def server(**kwargs): os.environ['EDGEDB_DEBUG_SERVER'] = '1' debug.init_debug_flags() srv_main.server_main(insecure=True, **kwargs)