コンテンツにスキップ
per page, with , order by , clip by
Results of 1 - 6 of about 6 for Connect (0.006 sec.)
SQL (Relational) Databases 12978
SQL (Relational) Databases Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . FastAPI doesn't require you to use a SQL (relational) database. But you can use any data ... None , index = True ) secret_name : str sqlite_file_name = "database.db" sqlite_url = f "sqlite:/// { sqlite_file_name } " connect_args = { "check_same_thread" : False } engine = create_engine ( sqlite_url , connect_args = connect_args ) def create_db_a ... None , index = True ) secret_name : str sqlite_file_name = "database.db" sqlite_url = f "sqlite:/// { sqlite_file_name } " connect_args = { "check_same_thread" : False } engine = create_engine ( sqlite_url , connect_args = connect_args ) def create_db_a ... None , index = True ) secret_name : str sqlite_file_name = "database.db" sqlite_url = f "sqlite:/// { sqlite_file_name } " connect_args = { "check_same_thread" : False } engine = create_engine ( sqlite_url , connect_args = connect_args ) def create_db_a ...
https://man.mtool.work/fastapi/0.115/tutorial/sql-databases/
WebSocket 9468
WebSocket FastAPI で WebSocket が使用できます。 WebSockets のインストール まず WebSockets のインストールが必要です。 $ pip install websockets ---> 100% WebSocket クライアント 本番環境 本番環境では、React、Vue.js、Angularなどの最新のフレーム ... ></label> <label>Token: <input type="text" id="token" autocomplete="off" value="some-key-token"/></label> <button onclick="connect(event)">Connect</button> <hr> <label>Message: <input type="text" id="messageText" autocomplete="off"/></label> <button>Sen ... d</button> </form> <ul id='messages'> </ul> <script> var ws = null; function connect(event) { var itemId = document.getElementById("itemId") var token = document.getElementById("token") ws = new WebSocket("w ... ></label> <label>Token: <input type="text" id="token" autocomplete="off" value="some-key-token"/></label> <button onclick="connect(event)">Connect</button> <hr> <label>Message: <input type="text" id="messageText" autocomplete="off"/></label> <button>Sen ...
https://man.mtool.work/fastapi/0.115/advanced/websockets/
セキュリティ入門 8828
セキュリティ入門 セキュリティ、認証、認可を扱うには多くの方法があります。 そして、通常、それは複雑で「難しい」トピックです。 多くのフレームワークやシステムでは、セキュリティと認証を処理するだけで、膨大な労力とコードが必要になります(多くの場 ... 。 豆知識 デプロイ のセクションでは、TraefikとLet's Encryptを使用して、無料でHTTPSを設定する方法が紹介されています。 OpenID Connect OpenID Connectは、 OAuth2 をベースにした別の仕様です。 これはOAuth2を拡張したもので、OAuth2ではやや曖昧だった部分を明確にし ... 、より相互運用性を高めようとしたものです。 例として、GoogleのログインはOpenID Connectを使用しています(これはOAuth2がベースになっています)。 しかし、FacebookのログインはOpenID Connectをサポートしていません。O ... Auth2を独自にアレンジしています。 OpenID (「OpenID Connect」ではない) また、「OpenID」という仕様もありました。それは、 OpenID Connect と同じことを解決しようとしたものですが、OAuth2に ...
https://man.mtool.work/fastapi/0.115/tutorial/security/
Testing WebSockets 7933
Testing WebSockets Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . You can use the same TestClient to test WebSockets. For this, you use the TestClient in a with s ... tatement, connecting to the WebSocket: Python 3.8+ from fastapi import FastAPI from fastapi.testclient import TestClient from fastapi.websoc ... response . json () == { "msg" : "Hello World" } def test_websocket (): client = TestClient ( app ) with client . websocket_connect ( "/ws" ) as websocket : data = websocket . receive_json () assert data == { "msg" : "Hello WebSocket" } Note For more det ...
https://man.mtool.work/fastapi/0.115/advanced/testing-websockets/
Security Tools 7933
Security Tools When you need to declare dependencies with OAuth2 scopes you use Security() . But you still need to define what is the dependable, the callable that you pass as a parameter to Depends() or Security() . There are multiple tool ... OAuth2AuthorizationCodeBearer , OAuth2PasswordBearer , OAuth2PasswordRequestForm , OAuth2PasswordRequestFormStrict , OpenIdConnect , SecurityScopes , ) API Key Security Schemes ::: fastapi.security.APIKeyCookie ::: fastapi.security.APIKeyHeader ::: fast ... security.OAuth2PasswordRequestFormStrict OAuth2 Security Scopes in Dependencies ::: fastapi.security.SecurityScopes OpenID Connect ::: fastapi.security.OpenIdConnect ...
https://man.mtool.work/fastapi/0.115/reference/security/
FastAPI People 7659
FastAPI People FastAPI has an amazing community that welcomes people from all backgrounds. Creator Hey! ? This is me: @tiangolo Answers: 1894 Pull Requests: 723 I'm the creator of FastAPI . You can read more about that in Help FastAPI - Get ... Help - Connect with the author . ...But here I want to show you the community. FastAPI receives a lot of support from the community. And ...
https://man.mtool.work/fastapi/0.115/fastapi-people/
PREV 1 NEXT