Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 3,758 for Gone (0.17 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fastapi/dependencies/utils.py

        background_tasks: StarletteBackgroundTasks | None
        response: Response
        dependency_cache: dict[DependencyCacheKey, Any]
    
    
    async def solve_dependencies(
        *,
        request: Request | WebSocket,
        dependant: Dependant,
        body: dict[str, Any] | FormData | bytes | None = None,
        background_tasks: StarletteBackgroundTasks | None = None,
        response: Response | None = None,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  2. scripts/translate.py

        print("LLM translatable languages:", translatable_langs)
        return translatable_langs
    
    
    @app.command()
    def llm_translatable_json(
        language: Annotated[str | None, typer.Option(envvar="LANGUAGE")] = None,
    ) -> None:
        translatable_langs = get_llm_translatable()
        if language:
            if language in translatable_langs:
                print(json.dumps([language]))
                return
            else:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  3. tests/test_openapi_examples.py

    
    @app.get("/query_examples/")
    def query_examples(
        data: str | None = Query(
            default=None,
            examples=[
                "json_schema_query1",
                "json_schema_query2",
            ],
            openapi_examples={
                "Query One": {
                    "summary": "Query One Summary",
                    "description": "Query One Description",
                    "value": "query1",
                },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  4. tests/test_invalid_sequence_param.py

        ):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/")
            def read_items(q: tuple[Item, Item] = Query(default=None)):
                pass  # pragma: no cover
    
    
    def test_invalid_dict():
        with pytest.raises(
            AssertionError,
            match="Query parameter 'q' must be one of the supported types",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  5. fastapi/security/oauth2.py

                ),
            ] = None,
            scopes: Annotated[
                dict[str, str] | None,
                Doc(
                    """
                    The OAuth2 scopes that would be required by the *path operations* that
                    use this dependency.
                    """
                ),
            ] = None,
            description: Annotated[
                str | None,
                Doc(
                    """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 24 16:32:10 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  6. fastapi/param_functions.py

                """
            ),
        ] = None,
        min_length: Annotated[
            int | None,
            Doc(
                """
                Minimum length for strings.
                """
            ),
        ] = None,
        max_length: Annotated[
            int | None,
            Doc(
                """
                Maximum length for strings.
                """
            ),
        ] = None,
        pattern: Annotated[
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 68K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/query-params-str-validations.md

    We had this type annotation:
    
    ```Python
    q: str | None = None
    ```
    
    What we will do is wrap that with `Annotated`, so it becomes:
    
    ```Python
    q: Annotated[str | None] = None
    ```
    
    Both of those versions mean the same thing, `q` is a parameter that can be a `str` or `None`, and by default, it is `None`.
    
    Now let's jump to the fun stuff. 🎉
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  8. configure.py

                           var_name,
                           query_item,
                           enabled_by_default,
                           question=None,
                           yes_reply=None,
                           no_reply=None,
                           bazel_config_name=None):
      """Set boolean action_env variable.
    
      Ask user if query_item will be enabled. Default is used if no input is given.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Dec 19 16:32:04 GMT 2025
    - 48.3K bytes
    - Click Count (0)
  9. fastapi/security/http.py

            ),
        ]
    
    
    class HTTPBase(SecurityBase):
        model: HTTPBaseModel
    
        def __init__(
            self,
            *,
            scheme: str,
            scheme_name: str | None = None,
            description: str | None = None,
            auto_error: bool = True,
        ):
            self.model = HTTPBaseModel(scheme=scheme, description=description)
            self.scheme_name = scheme_name or self.__class__.__name__
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 16 10:16:48 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  10. internal/grid/stream.go

    			}
    			err = next(resp.Msg)
    			if err != nil {
    				s.cancel(err)
    				return err
    			}
    		}
    	}
    }
    
    // Done will return a channel that will be closed when the stream is done.
    // This mirrors context.Done().
    func (s *Stream) Done() <-chan struct{} {
    	return s.ctx.Done()
    }
    
    // Err will return the error that caused the stream to end.
    // This mirrors context.Err().
    func (s *Stream) Err() error {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jun 07 15:51:52 GMT 2024
    - 3.1K bytes
    - Click Count (0)
Back to Top