better __all__

This commit is contained in:
AF 2022-12-28 07:32:42 +00:00
parent afc8f3bfca
commit c718d4d142
7 changed files with 11 additions and 9 deletions

View File

@ -1,3 +1,3 @@
aiohttp
PyNaCl~=1.4.0
ptvp35 @ git+https://gitea.parrrate.ru/PTV/ptvp35.git@87ba808c2af1be87f4fbb9d9b3b97ba748cb9fae
ptvp35 @ git+https://gitea.parrrate.ru/PTV/ptvp35.git@e760fca39e2070b9959aeb95b53e59e895f1ad57

View File

@ -15,7 +15,7 @@ setup(
],
extras_require={
'full': [
'ptvp35 @ git+https://gitea.parrrate.ru/PTV/ptvp35.git@87ba808c2af1be87f4fbb9d9b3b97ba748cb9fae',
'ptvp35 @ git+https://gitea.parrrate.ru/PTV/ptvp35.git@e760fca39e2070b9959aeb95b53e59e895f1ad57',
],
},
)

View File

@ -7,8 +7,8 @@ from nacl.signing import VerifyKey
from nacl.utils import random
from v6d0auth import certs
from v6d0auth.appfactory import AppFactory
from v6d0auth.cdb import CDB, Role, AbstractRequest
from v6d0auth.appfactory import *
from v6d0auth.cdb import *
__all__ = ('V6D0AuthAppFactory',)

View File

@ -1,5 +1,7 @@
from aiohttp import web
__all__ = ('AppFactory',)
class AppFactory:
def define_routes(self, routes: web.RouteTableDef) -> None:

View File

@ -1,8 +1,8 @@
import asyncio
from v6d0auth.app import V6D0AuthAppFactory
from v6d0auth.cdb import CDB
from v6d0auth.run_app import run_app
from v6d0auth.app import *
from v6d0auth.cdb import *
from v6d0auth.run_app import *
async def main():

View File

@ -6,7 +6,7 @@ from typing import Literal
import aiohttp
from v6d0auth import certs
from v6d0auth.config import port, host
from v6d0auth.config import host, port
parser = argparse.ArgumentParser()
parser.add_argument('handle', type=str)

View File

@ -3,7 +3,7 @@ from subprocess import call
from sys import executable
from v6d0auth import certs
from v6d0auth.client import request_signature, has_role, request_role
from v6d0auth.client import *
async def main():