Skip to content

Commit 79fac11

Browse files
committed
docs: relabel deploy_python_fastapi as supported vetiver compat shim
1 parent a24588b commit 79fac11

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

rsconnect/actions.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,11 @@ def validate_quarto_engines(inspect: QuartoInspectResult):
278278

279279

280280
# ===============================================================================
281-
# START: The following deprecated functions are here only for the vetiver-python
282-
# package.
283-
# Some the code in this section has `pyright: ignore` comments, because this
284-
# deprecated code which will be removed in the future.
281+
# START: Compatibility entry point used by the vetiver-python package.
282+
# vetiver's `deploy_connect` calls `deploy_python_fastapi` (below), which routes
283+
# through `deploy_app` and the local `validate_*` helpers. This is a supported
284+
# shim; keep these signatures stable. The `pyright: ignore` comments remain
285+
# because the kwargs-forwarding style predates strict typing.
285286
# ===============================================================================
286287
def validate_extra_files(directory: str, extra_files: Sequence[str]):
287288
"""
@@ -439,7 +440,7 @@ def deploy_app(
439440

440441

441442
# ===============================================================================
442-
# END deprecated functions for the vetiver-python package
443+
# END compatibility entry point for the vetiver-python package
443444
# ===============================================================================
444445

445446

0 commit comments

Comments
 (0)