コンテンツにスキップ
per page, with , order by , clip by
Results of 1 - 6 of about 6 for Scripts (0.003 sec.)
Development - Contributing 12795
Development - Contributing Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . First, you might want to see the basic ways to help FastAPI and get help . Developing If ... e, with the -e option. Format the code There is a script that you can run that will format and clean all your code: $ bash scripts/format.sh It will also auto-sort all your imports. Tests There is a script that you can run locally to test all the code a ... nd generate coverage reports in HTML: $ bash scripts/test-cov-html.sh This command generates a directory ./htmlcov/ , if you open the file ./htmlcov/index.html in your browser ... ve During local development, there is a script that builds the site and checks for any changes, live-reloading: $ python ./scripts/docs.py live <span style="color: green;">[INFO]</span> Serving on http://127.0.0.1:8008 <span style="color: green;">[INFO] ...
https://man.mtool.work/fastapi/0.115/contributing/
Virtual Environments 10071
Virtual Environments Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . When you work in Python projects you probably should use a virtual environment (or a similar m ... terminal session to work on the project. Linux, macOS Windows PowerShell Windows Bash $ source .venv/bin/activate $ .venv \S cripts \A ctivate.ps1 Or if you use Bash for Windows (e.g. Git Bash ): $ source .venv/Scripts/activate Tip Every time you instal ... r project (in this case awesome-project ), then it worked. ? $ Get-Command python C:\Users\user\code\awesome-project\.venv\Scripts\python If it shows the python binary at .venv\Scripts\python , inside of your project (in this case awesome-project ), the ... a virtual environment, for example with: Linux, macOS Windows PowerShell Windows Bash $ source .venv/bin/activate $ .venv \S cripts \A ctivate.ps1 Or if you use Bash for Windows (e.g. Git Bash ): $ source .venv/Scripts/activate That command will create ...
https://man.mtool.work/fastapi/0.115/virtual-environments/
環境変数 8371
環境変数 Tip もし、「環境変数」とは何か、それをどう使うかを既に知っている場合は、このセクションをスキップして構いません。 環境変数( env var とも呼ばれる)はPythonコードの 外側 、つまり OS に存在する変数で、Pythonから読み取ることができます。 ... に以下のディレクトリを探す、ということを意味します: /usr/local/bin /usr/bin /bin /usr/sbin /sbin C:\Program Files\Python312\Scripts;C:\Program Files\Python312;C:\Windows\System32 これは、OSはプログラムを見つけるために以下のディレクトリを探す、ということを ... 意味します: C:\Program Files\Python312\Scripts C:\Program Files\Python312 C:\Windows\System32 ターミナル上で コマンド を入力すると、 OSはそのプログラムを見つけるために、 ... 境変数に C:\opt\custompython\bin が追加されます。 PATH 環境変数は以下のように更新されるでしょう: C:\Program Files\Python312\Scripts;C:\Program Files\Python312;C:\Windows\System32;C:\opt\custompython\bin このようにして、ターミナルで python と入力したときに ...
https://man.mtool.work/fastapi/0.115/environment-variables/
Release Notes 8061
Release Notes Latest Changes 0.115.11 Fixes ? Add docs examples and tests (support) for Annotated custom validations, like AfterValidator , revert #13440 . PR #13442 by @tiangolo . New docs: Query Parameters and String Validations - Custom ... slations.py empty env var handling for PR label events vs workflow_dispatch. PR #13272 by @tiangolo . ♻️ Refactor and move scripts/notify_translations.py , no need for a custom GitHub Action. PR #13270 by @tiangolo . ? Update FastAPI People Experts scri ... 3132 by @dependabot[bot] . ⬆ Bump mkdocs-macros-plugin from 1.0.5 to 1.3.7. PR #13133 by @dependabot[bot] . ? Add internal scripts to generate language translations with PydanticAI, include Spanish prompt. PR #13123 by @tiangolo . ⬆ Bump astral-sh/setup ... /nl/docs/python-types.md . PR #12158 by @maxscheijen . Internal ? Add comments with instructions for Playwright screenshot scripts. PR #12193 by @tiangolo . ➕ Add inline-snapshot for tests. PR #12189 by @tiangolo . 0.114.1 Refactors ⚡️ Improve performan ...
https://man.mtool.work/fastapi/0.115/release-notes/
Generate Clients 7896
Generate Clients Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . As FastAPI is based on the OpenAPI specification, you get automatic compatibility with many tools, ... le. It could look like this: { "name" : "frontend-app" , "version" : "1.0.0" , "description" : "" , "main" : "index.js" , "scripts" : { "generate-client" : "openapi-ts --input http://localhost:8000/openapi.json --output ./src/client --client axios" }, " ... hat local file, for example: { "name" : "frontend-app" , "version" : "1.0.0" , "description" : "" , "main" : "index.js" , "scripts" : { "generate-client" : "openapi-ts --input ./openapi.json --output ./src/client --client axios" }, "author" : "" , "lice ...
https://man.mtool.work/fastapi/0.115/advanced/generate-clients/
Repository Management Tasks 7585
Repository Management Tasks These are the tasks that can be performed to manage the FastAPI repository by team members . Tip This section is useful only to a handful of people, team members with permissions to manage the repository. You can ... nges that only affect how the repo is managed. For example upgrades to internal dependencies, changes in GitHub Actions or scripts, etc. Tip Some tools like Dependabot, will add some labels, like dependencies , but have in mind that this label is not us ...
https://man.mtool.work/fastapi/0.115/management-tasks/
PREV 1 NEXT