Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for uaAppend (0.35 sec)

  1. fastapi/dependencies/utils.py

        if field_info_in == params.ParamTypes.path:
            dependant.path_params.append(field)
        elif field_info_in == params.ParamTypes.query:
            dependant.query_params.append(field)
        elif field_info_in == params.ParamTypes.header:
            dependant.header_params.append(field)
        else:
            assert field_info_in == params.ParamTypes.cookie, (
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
  2. scripts/translate.py

        skipped_paths: list[Path] = []
        for p in paths_to_process:
            lang_path = generate_lang_path(lang=language, path=p)
            if lang_path.exists():
                skipped_paths.append(p)
                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:")
    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. fastapi/encoders.py

            )
        try:
            data = dict(obj)
        except Exception as e:
            errors: list[Exception] = []
            errors.append(e)
            try:
                data = vars(obj)
            except Exception as e:
                errors.append(e)
                raise ValueError(errors) from e
        return jsonable_encoder(
            data,
            include=include,
            exclude=exclude,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. fastapi/_compat/v2.py

                            schema=item,
                            old_name_to_new_name_map=old_name_to_new_name_map,
                        )
                        new_value.append(new_item)
    
                    else:
                        new_value.append(item)
                new_schema[key] = new_value
        return new_schema
    
    
    def _remap_definitions_and_field_mappings(
        *,
        model_name_map: ModelNameMap,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  5. fastapi/openapi/utils.py

                        "A request body must be a Pydantic Field"
                    )
                    body_fields_from_routes.append(route.body_field)
                if route.response_field:
                    responses_from_routes.append(route.response_field)
                if route.response_fields:
                    responses_from_routes.extend(route.response_fields.values())
                if route.callbacks:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  6. fastapi/routing.py

                callbacks=current_callbacks,
                openapi_extra=openapi_extra,
                generate_unique_id_function=current_generate_unique_id,
            )
            self.routes.append(route)
    
        def api_route(
            self,
            path: str,
            *,
            response_model: Any = Default(None),
            status_code: Optional[int] = None,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
Back to top