Skip to content

Commit

Permalink
Merge pull request #7 from mabel-dev/WIP
Browse files Browse the repository at this point in the history
WIP
  • Loading branch information
joocer authored Jun 7, 2024
2 parents dbf8cdf + 1f3e1a8 commit 850085f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tarchia/__version__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__build__ = 22
__build__ = 23

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
11 changes: 6 additions & 5 deletions tarchia/main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# isort: skip
"""
Tarchia is the metadata store for Mabel and Opteryx.
Expand All @@ -8,19 +9,19 @@
import sys
from os import environ

import v1.routes
from fastapi import FastAPI
from middlewares import AuthorizationMiddleware
from uvicorn import run

import tarchia
sys.path.insert(1, os.path.join(sys.path[0], "..")) # isort: skip

sys.path.insert(1, os.path.join(sys.path[0], ".."))
import tarchia # isort: skip
from tarchia.middlewares import AuthorizationMiddleware # isort: skip
from tarchia.v1 import routes as v1_routes # isort: skip


application = FastAPI(title="Tarchia Metastore")

application.include_router(v1.routes.v1_router)
application.include_router(v1_routes.v1_router)
application.add_middleware(AuthorizationMiddleware)


Expand Down

0 comments on commit 850085f

Please sign in to comment.