Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 228 for exec (0.25 sec)

  1. integration-tests/gradle/gradlew.bat

    @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
    set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
    
    @rem Find java.exe
    if defined JAVA_HOME goto findJavaFromJavaHome
    
    set JAVA_EXE=java.exe
    %JAVA_EXE% -version >NUL 2>&1
    if %ERRORLEVEL% equ 0 goto execute
    
    echo. 1>&2
    echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
    echo. 1>&2
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 21 19:14:29 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. docs_src/handling_errors/tutorial005_py39.py

    app = FastAPI()
    
    
    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request: Request, exc: RequestValidationError):
        return JSONResponse(
            status_code=422,
            content=jsonable_encoder({"detail": exc.errors(), "body": exc.body}),
        )
    
    
    class Item(BaseModel):
        title: str
        size: int
    
    
    @app.post("/items/")
    async def create_item(item: Item):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 626 bytes
    - Viewed (0)
  3. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. docs_src/custom_request_and_route/tutorial002_an_py39.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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 947 bytes
    - Viewed (0)
  5. docs_src/custom_request_and_route/tutorial002_py310.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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 935 bytes
    - Viewed (0)
  6. gradlew.bat

    @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
    set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
    
    @rem Find java.exe
    if defined JAVA_HOME goto findJavaFromJavaHome
    
    set JAVA_EXE=java.exe
    %JAVA_EXE% -version >NUL 2>&1
    if %ERRORLEVEL% equ 0 goto execute
    
    echo. 1>&2
    echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
    echo. 1>&2
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Sep 18 20:55:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. docs_src/custom_request_and_route/tutorial002_py39.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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 926 bytes
    - Viewed (0)
  8. docs_src/handling_errors/tutorial003_py39.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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 626 bytes
    - Viewed (0)
  9. src/clean.bat

    license that can be found in the LICENSE file.
    L4:
    L5:@echo off
    L6:
    L7:setlocal
    L8:
    L9:go tool dist env -w -p >env.bat || exit /b 1
    L10:call .\env.bat
    L11:del env.bat
    L12:echo.
    L13:
    L14:if not exist %GOTOOLDIR%\dist.exe (
    L15:    echo cannot find %GOTOOLDIR%\dist.exe; nothing to clean
    L16:    exit /b 1
    L17:)
    L18:
    L19:"%GOBIN%\go" clean -i std
    L20:"%GOBIN%\go" tool dist clean
    L21:"%GOBIN%\go" clean -i cmd
    ...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Feb 11 17:45:10 UTC 2025
    - 475 bytes
    - Viewed (0)
  10. docs_src/custom_request_and_route/tutorial002_an_py310.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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 974 bytes
    - Viewed (0)
Back to top