mirror of https://github.com/tiangolo/fastapi.git
Fix security issues detected by contrib
This commit is contained in:
parent
f2687dc1bb
commit
7a1b69e6d6
|
|
@ -24,7 +24,8 @@ def run(playwright: Playwright) -> None:
|
|||
|
||||
|
||||
process = subprocess.Popen(
|
||||
["fastapi", "run", "docs_src/cookie_param_models/tutorial001.py"]
|
||||
["fastapi", "run", "docs_src/cookie_param_models/tutorial001.py"],
|
||||
shell=False
|
||||
)
|
||||
try:
|
||||
for _ in range(3):
|
||||
|
|
|
|||
|
|
@ -23,7 +23,8 @@ def run(playwright: Playwright) -> None:
|
|||
|
||||
|
||||
process = subprocess.Popen(
|
||||
["fastapi", "run", "docs_src/header_param_models/tutorial001.py"]
|
||||
["fastapi", "run", "docs_src/header_param_models/tutorial001.py"],
|
||||
shell=False
|
||||
)
|
||||
try:
|
||||
for _ in range(3):
|
||||
|
|
|
|||
|
|
@ -26,7 +26,8 @@ def run(playwright: Playwright) -> None:
|
|||
|
||||
|
||||
process = subprocess.Popen(
|
||||
["fastapi", "run", "docs_src/query_param_models/tutorial001.py"]
|
||||
["fastapi", "run", "docs_src/query_param_models/tutorial001.py"],
|
||||
shell=False
|
||||
)
|
||||
try:
|
||||
for _ in range(3):
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ def run(playwright: Playwright) -> None:
|
|||
|
||||
process = subprocess.Popen(
|
||||
["fastapi", "run", "docs_src/sql_databases/tutorial001.py"],
|
||||
shell=False
|
||||
)
|
||||
try:
|
||||
for _ in range(3):
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ def run(playwright: Playwright) -> None:
|
|||
|
||||
process = subprocess.Popen(
|
||||
["fastapi", "run", "docs_src/sql_databases/tutorial002.py"],
|
||||
shell=False
|
||||
)
|
||||
try:
|
||||
for _ in range(3):
|
||||
|
|
|
|||
Loading…
Reference in New Issue