Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Grocevs (0.14 sec)

  1. fastapi/openapi/utils.py

                    for (
                        additional_status_code,
                        additional_response,
                    ) in route.responses.items():
                        process_response = additional_response.copy()
                        process_response.pop("model", None)
                        status_code_key = str(additional_status_code).upper()
                        if status_code_key == "DEFAULT":
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  2. scripts/docs.py

        shutil.rmtree(site_path, ignore_errors=True)
        langs = [lang.name for lang in get_lang_paths() if lang.is_dir()]
        cpu_count = os.cpu_count() or 1
        process_pool_size = cpu_count * 4
        typer.echo(f"Using process pool size: {process_pool_size}")
        with Pool(process_pool_size) as p:
            p.map(build_lang, langs)
    
    
    @app.command()
    def update_languages() -> None:
        """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  3. fastapi/dependencies/utils.py

                    async def process_fn(
                        fn: Callable[[], Coroutine[Any, Any, Any]],
                    ) -> None:
                        result = await fn()
                        results.append(result)  # noqa: B023
    
                    async with anyio.create_task_group() as tg:
                        for sub_value in value:
                            tg.start_soon(process_fn, sub_value.read)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  4. fastapi/_compat.py

            UndefinedType as UndefinedType,  # noqa: F401
        )
        from pydantic.schema import (
            field_schema,
            get_flat_models_from_fields,
            get_model_name_map,
            model_process_schema,
        )
        from pydantic.schema import (  # type: ignore[no-redef]  # noqa: F401
            get_annotation_from_field_info as get_annotation_from_field_info,
        )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top