Renaming module for better import resolution under pyright
This commit is contained in:
8
wiki-resources/topology/personal.py
Normal file
8
wiki-resources/topology/personal.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from diagrams.custom import Custom
|
||||
|
||||
def Gitea(name: str) -> Custom:
|
||||
return Custom(name, './images/gitea.png')
|
||||
|
||||
def StaticSite(name: str) -> Custom:
|
||||
return Custom(name, './images/website.png')
|
||||
|
||||
Reference in New Issue
Block a user