Actions: Format
Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
d013729b7d
commit
5bfa952671
1 changed files with 4 additions and 1 deletions
|
|
@ -1,11 +1,14 @@
|
||||||
import json
|
import json
|
||||||
from loguru import logger
|
from loguru import logger
|
||||||
|
|
||||||
|
from common.config_models import generate_config_file
|
||||||
from common.tabby_config import config
|
from common.tabby_config import config
|
||||||
from endpoints.server import export_openapi
|
from endpoints.server import export_openapi
|
||||||
from common.config_models import generate_config_file
|
|
||||||
|
|
||||||
|
|
||||||
def branch_to_actions() -> bool:
|
def branch_to_actions() -> bool:
|
||||||
|
"""Checks if a optional action needs to be run."""
|
||||||
|
|
||||||
if config.actions.export_openapi:
|
if config.actions.export_openapi:
|
||||||
openapi_json = export_openapi()
|
openapi_json = export_openapi()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue