Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for doprint (0.06 sec)

  1. src/cmd/asm/internal/flags/flags.go

    	flag.Var(&I, "I", "include directory; can be set multiple times")
    	flag.BoolVar(&DebugV, "v", false, "print debug output")
    	flag.Var(objabi.NewDebugFlag(&DebugFlags, nil), "d", "enable debugging settings; try -d help")
    	objabi.AddVersionFlag() // -V
    	objabi.Flagcount("S", "print assembly and machine code", &PrintOut)
    
    	DebugFlags.CompressInstructions = 1
    }
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Nov 18 08:58:00 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. scripts/translate.py

                continue
            missing_paths.append(p)
        print("Paths to skip:")
        for p in skipped_paths:
            print(f"  - {p}")
        print(f"Total paths to skip: {len(skipped_paths)}")
        print("Paths to process:")
        for p in missing_paths:
            print(f"  - {p}")
        print(f"Total paths to process: {len(missing_paths)}")
        for p in missing_paths:
            print(f"Translating: {p}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  3. docs_src/custom_request_and_route/tutorial003_py39.py

                duration = time.time() - before
                response.headers["X-Response-Time"] = str(duration)
                print(f"route duration: {duration}")
                print(f"route response: {response}")
                print(f"route response headers: {response.headers}")
                return response
    
            return custom_route_handler
    
    
    app = FastAPI()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1K bytes
    - Viewed (0)
  4. docs_src/python_types/tutorial009_py39.py

    from typing import Optional
    
    
    def say_hi(name: Optional[str] = None):
        if name is not None:
            print(f"Hey {name}!")
        else:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 164 bytes
    - Viewed (0)
  5. docs_src/python_types/tutorial009b_py39.py

    from typing import Union
    
    
    def say_hi(name: Union[str, None] = None):
        if name is not None:
            print(f"Hey {name}!")
        else:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 164 bytes
    - Viewed (0)
  6. docs_src/custom_request_and_route/tutorial003_py310.py

                duration = time.time() - before
                response.headers["X-Response-Time"] = str(duration)
                print(f"route duration: {duration}")
                print(f"route response: {response}")
                print(f"route response headers: {response.headers}")
                return response
    
            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
    - 1K bytes
    - Viewed (0)
  7. scripts/docs.py

        old_content = readme_path.read_text()
        new_content = generate_readme_content()
        if new_content != old_content:
            print("README.md outdated from the latest index.md")
            print("Updating README.md")
            readme_path.write_text(new_content, encoding="utf-8")
            raise typer.Exit(1)
        print("README.md is up to date ✅")
    
    
    @app.command()
    def build_all() -> None:
        """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  8. docs_src/handling_errors/tutorial006_py39.py

    
    @app.exception_handler(StarletteHTTPException)
    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)
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 928 bytes
    - Viewed (0)
  9. tests/test_tutorial/test_path_params/test_tutorial004.py

    
    def test_file_path():
        response = client.get("/files/home/johndoe/myfile.txt")
        print(response.content)
        assert response.status_code == 200, response.text
        assert response.json() == {"file_path": "home/johndoe/myfile.txt"}
    
    
    def test_root_file_path():
        response = client.get("/files//home/johndoe/myfile.txt")
        print(response.content)
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. docs_src/python_types/tutorial008b_py39.py

    from typing import Union
    
    
    def process_item(item: Union[int, str]):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 84 bytes
    - Viewed (0)
Back to top