- Sort Score
- Result 10 results
- Languages All
Results 2191 - 2200 of 2,381 for apps (0.03 sec)
-
docs/zh/docs/tutorial/handling-errors.md
{!../../docs_src/handling_errors/tutorial002.py!} ``` ## 安装自定义异常处理器 添加自定义处理器,要使用 [Starlette 的异常工具](https://www.starlette.io/exceptions/)。 假设要触发的自定义异常叫作 `UnicornException`。 且需要 FastAPI 实现全局处理该异常。 此时,可以用 `@app.exception_handler()` 添加自定义异常控制器: ```Python hl_lines="5-7 13-18 24" {!../../docs_src/handling_errors/tutorial003.py!} ``` 请求 `/unicorns/yolo` 时,路径操作会触发 `UnicornException`。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.base.login; import static org.codelibs.core.stream.StreamUtil.split; import static org.codelibs.core.stream.StreamUtil.stream; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 6.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/middleware.md
/// note | "기술 세부사항" 만약 `yield`를 사용한 의존성을 가지고 있다면, 미들웨어가 실행되고 난 후에 exit이 실행됩니다. 만약 (나중에 문서에서 다룰) 백그라운드 작업이 있다면, 모든 미들웨어가 실행되고 *난 후에* 실행됩니다. /// ## 미들웨어 만들기 미들웨어를 작성하기 위해서 함수 상단에 `@app.middleware("http")` 데코레이터를 사용할 수 있습니다. 미들웨어 함수는 다음 항목들을 받습니다: * `request`. * `request`를 매개변수로 받는 `call_next` 함수. * 이 함수는 `request`를 해당하는 *경로 작업*으로 전달합니다. * 그런 다음, *경로 작업*에 의해 생성된 `response` 를 반환합니다.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java
import org.apache.http.impl.auth.NTLMScheme; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.app.service.WebConfigService; import org.codelibs.fess.crawler.client.http.Authentication; import org.codelibs.fess.crawler.client.http.form.FormScheme; import org.codelibs.fess.crawler.client.http.impl.AuthenticationImpl;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 5.8K bytes - Viewed (0) -
docs/zh/docs/tutorial/middleware.md
* 它可以对该**响应**做些什么或者执行任何需要的代码. * 然后它返回这个 **响应**. /// note | "技术细节" 如果你使用了 `yield` 关键字依赖, 依赖中的退出代码将在执行中间件*后*执行. 如果有任何后台任务(稍后记录), 它们将在执行中间件*后*运行. /// ## 创建中间件 要创建中间件你可以在函数的顶部使用装饰器 `@app.middleware("http")`. 中间件参数接收如下参数: * `request`. * 一个函数 `call_next` 它将接收 `request` 作为参数. * 这个函数将 `request` 传递给相应的 *路径操作*. * 然后它将返回由相应的*路径操作*生成的 `response`. * 然后你可以在返回 `response` 前进一步修改它.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/assemblies/files/fess.in.sh
FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dfess.home=$FESS_HOME" FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dfess.context.path=$FESS_CONTEXT_PATH" FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dfess.port=$FESS_PORT" FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dfess.webapp.path=$FESS_HOME/app" FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dfess.temp.path=$FESS_TEMP_PATH" FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dfess.log.name=$APP_NAME" FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dfess.log.path=$FESS_LOG_PATH"
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 4.7K bytes - Viewed (0) -
docs/fa/docs/tutorial/security/index.md
بنابراین، یک سیستم جداگانه بود. اکنون این مشخصه کمتر استفاده میشود و محبوبیت زیادی ندارد. ## استاندارد OpenAPI استاندارد OpenAPI (قبلاً با نام Swagger شناخته میشد) یک open specification برای ساخت APIs (که در حال حاضر جزئی از بنیاد لینوکس میباشد) است. فریم ورک **FastAPI** بر اساس **OpenAPI** است.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 7.6K bytes - Viewed (0) -
docs/en/docs/img/deployment/https/https08.drawio
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu May 12 00:06:16 UTC 2022 - 20.9K bytes - Viewed (0) -
docs/tr/docs/async.md
```Python results = await some_library() ``` O zaman *path operasyon fonksiyonunu* `async def` ile tanımlayın örneğin: ```Python hl_lines="2" @app.get('/') async def read_results(): results = await some_library() return results ``` /// note | "Not" Sadece `async def` ile tanımlanan fonksiyonlar içinde `await` kullanabilirsiniz. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 21.9K bytes - Viewed (0) -
docs/de/docs/project-generation.md
* **Robust**: Erhalten Sie produktionsbereiten Code. Mit automatischer, interaktiver Dokumentation. * **Standards-basiert**: Basierend auf (und vollständig kompatibel mit) den offenen Standards für APIs: <a href="https://github.com/OAI/OpenAPI-Specification" class="external-link" target="_blank">OpenAPI</a> und <a href="https://json-schema.org/" class="external-link" target="_blank">JSON Schema</a>.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 6.5K bytes - Viewed (0)