1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-09-19 18:31:16 +00:00

Module doc strings

This commit is contained in:
Mo 2022-07-03 18:26:15 +02:00
parent c3e48b5928
commit 5c511a00f5
7 changed files with 21 additions and 7 deletions

View file

@ -1,4 +1,6 @@
# Functions not dependent on advlabdb
"""
Functions not dependent on advlabdb.
"""
from flask import flash, url_for
from markupsafe import Markup, escape

View file

@ -1,4 +1,6 @@
# Functions dependent on advlabdb.models
"""
Functions dependent on advlabdb.models.
"""
from functools import cache

View file

@ -1,4 +1,6 @@
# Functions not dependent on advlabdb.models
"""
Functions not dependent on advlabdb.models.
"""
import secrets
from string import ascii_letters, digits

View file

@ -1,4 +1,6 @@
# No relative imports allowed in this file to be able to run server_setup.py without packages
"""
No relative imports allowed in this file to be able to run server_setup.py without packages.
"""
import sys
from pathlib import Path

View file

@ -1,4 +1,6 @@
# No relative imports allowed in this file to be able to run server_setup.py without packages
"""
No relative imports allowed in this file to be able to run server_setup.py without packages.
"""
import sys
from pathlib import Path

View file

@ -1,4 +1,6 @@
# No relative imports allowed in this file to be able to run server_setup.py without packages
"""
No relative imports allowed in this file to be able to run server_setup.py without packages.
"""
import sys
from pathlib import Path

View file

@ -1,4 +1,6 @@
# No relative imports allowed in this file to be able to run server_setup.py without packages
"""
No relative imports allowed in this file to be able to run server_setup.py without packages.
"""
import subprocess # nosec 404
from getpass import getpass