mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
api endpoint implemented
This commit is contained in:
1 parent
0fdeb34f1a
commit
b74ebafb8f
9 files changed
+383
-1
No files matched your search
@@ -49,6 +49,9 @@ class TemplatesRepository(BaseRepository):
|
||||
|
||||
super().__init__(db_session)
|
||||
|
||||
def configs_path(self) -> str:
|
||||
return os.path.join(os.getcwd(), "configs")
|
||||
|
||||
async def get_template(self, template_id: UUID) -> Union[None, models.Template]:
|
||||
|
||||
query = select(models.Template).\
|
||||
|
||||
Reference in new issue
Block a user