- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 136 for exec (0.05 sec)
-
ci/devinfra/docker/windows/Dockerfile
# These variables may be useful, but so far haven't been. Keeping for posterity. # ENV CLANG_COMPILER_PATH "C:\tools\llvm\bin\clang.exe" # ENV CC "C:\tools\llvm\bin\clang.exe" # ENV BAZEL_COMPILER "C:\tools\llvm\bin\clang.exe" ENV BAZEL_SH "C:\tools\msys64\usr\bin\bash.exe" ENV BAZEL_VS "C:\Program Files\Microsoft Visual Studio\2022\BuildTools" ENV BAZEL_VC "C:\Program Files\Microsoft Visual Studio\2022\Community\VC"
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Tue Aug 20 13:57:04 UTC 2024 - 7.3K bytes - Viewed (0) -
docs_src/handling_errors/tutorial006.py
async def custom_http_exception_handler(request, exc): print(f"OMG! An HTTP error!: {repr(exc)}") return await http_exception_handler(request, exc) @app.exception_handler(RequestValidationError) async def validation_exception_handler(request, exc): print(f"OMG! The client sent invalid data!: {exc}") return await request_validation_exception_handler(request, exc) @app.get("/items/{item_id}")
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Aug 09 11:10:33 UTC 2020 - 928 bytes - Viewed (0) -
docs_src/handling_errors/tutorial003.py
self.name = name app = FastAPI() @app.exception_handler(UnicornException) async def unicorn_exception_handler(request: Request, exc: UnicornException): return JSONResponse( status_code=418, content={"message": f"Oops! {exc.name} did something. There goes a rainbow..."}, ) @app.get("/unicorns/{name}") async def read_unicorn(name: str): if name == "yolo":
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 626 bytes - Viewed (0) -
fastapi/exception_handlers.py
async def http_exception_handler(request: Request, exc: HTTPException) -> Response: headers = getattr(exc, "headers", None) if not is_body_allowed_for_status_code(exc.status_code): return Response(status_code=exc.status_code, headers=headers) return JSONResponse( {"detail": exc.detail}, status_code=exc.status_code, headers=headers )
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Jun 11 19:08:14 UTC 2023 - 1.3K bytes - Viewed (0) -
docs_src/handling_errors/tutorial004.py
app = FastAPI() @app.exception_handler(StarletteHTTPException) async def http_exception_handler(request, exc): return PlainTextResponse(str(exc.detail), status_code=exc.status_code) @app.exception_handler(RequestValidationError) async def validation_exception_handler(request, exc): return PlainTextResponse(str(exc), status_code=400) @app.get("/items/{item_id}") async def read_item(item_id: int): if item_id == 3:
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 762 bytes - Viewed (0) -
docs/tls/README.md
# (Optional) Server IP address ip_address = "127.0.0.1" # Whether this certificate will be used for a TLS server tls_www_server ``` Run `certtool.exe` and specify the configuration file to generate a certificate: ``` certtool.exe --generate-self-signed --load-privkey private.key --template cert.cnf --outfile public.crt ``` ## 4. Install Certificates from Third-party CAs
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Sep 29 04:28:45 UTC 2022 - 8.4K bytes - Viewed (0) -
src/main/assemblies/files/service.bat
if errorlevel 1 goto x86 set EXECUTABLE=%FESS_HOME%\bin\fess-service-x64.exe set SERVICE_ID=fess-service-x64 set ARCH=64-bit goto checkExe :x86 set EXECUTABLE=%FESS_HOME%\bin\fess-service-x86.exe set SERVICE_ID=fess-service-x86 set ARCH=32-bit :checkExe if EXIST "%EXECUTABLE%" goto okExe echo fess-service-(x86|x64).exe was not found... :okExe if "%LOG_DIR%" == "" set LOG_DIR=%FESS_HOME%\logs
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java
assertEscapePattern(".*\\Q\001\\E.*", "contains:\001"); assertEscapePattern("(?i).*\\.exe$", "regexpIgnoreCase:\\.exe$"); assertEscapePattern("(?i)index.html", "regexpIgnoreCase:index.html"); assertEscapePattern(".*\\.exe$", "regexp:\\.exe$"); assertEscapePattern("index.html", "regexp:index.html"); } private void assertEscapePattern(String expect, String value) {
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.2K bytes - Viewed (0) -
docs_src/custom_request_and_route/tutorial002.py
try: return await original_route_handler(request) except RequestValidationError as exc: body = await request.body() detail = {"errors": exc.errors(), "body": body.decode()} raise HTTPException(status_code=422, detail=detail) return custom_route_handler app = FastAPI()
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 932 bytes - Viewed (0) -
src/clean.bat
found in the LICENSE file. L4: L5:@echo off L6: L7:setlocal L8: L9:set GOBUILDFAIL=0 L10: L11:go tool dist env -w -p >env.bat L12:if errorlevel 1 goto fail L13:call .\env.bat L14:del env.bat L15:echo. L16: L17:if exist %GOTOOLDIR%\dist.exe goto distok L18:echo cannot find %GOTOOLDIR%\dist; nothing to clean L19:goto fail L20::distok L21: L22:"%GOBIN%\go" clean -i std L23:"%GOBIN%\go" tool dist clean L24:"%GOBIN%\go" clean -i cmd L25: L26:goto end L27: L28::fail L29:set GOBUILDFAIL=1 ...
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Thu May 12 16:59:17 UTC 2022 - 600 bytes - Viewed (0)