Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 263 for Something (0.07 seconds)

  1. tests/test_tutorial/test_handling_errors/test_tutorial003.py

    
    def test_get_exception():
        response = client.get("/unicorns/yolo")
        assert response.status_code == 418, response.text
        assert response.json() == {
            "message": "Oops! yolo did something. There goes a rainbow..."
        }
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  2. ci/official/utilities/windows.sh

    # to setting up up volume mappings.
    # Thus, the drive letter is replaced with the passed prefix.
    # If no prefix is passed, by default, it's replaced with C:\, in case it's
    # something else (ex. T:), which is a volume used in internal CI.
    function replace_drive_letter_with_prefix () {
      local path_prefix
      if [[ -z "$2" ]]; then
        path_prefix="C:"
      else
        path_prefix="$2"
      fi
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Jan 09 18:37:25 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. docs/de/docs/python-types.md

    `Optional[Something]` ist tatsächlich eine Abkürzung für `Union[Something, None]`, diese beiden sind äquivalent.
    
    Das bedeutet auch, dass Sie in Python 3.10 `Something | None` verwenden können:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial009_py310.py!}
    ```
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 17.9K bytes
    - Click Count (1)
  4. docs/en/docs/management-tasks.md

    * `feature`: Features
        * New features, adding support for things that didn't exist before.
    * `bug`: Fixes
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/response-model.md

    ## Return Type and Data Filtering { #return-type-and-data-filtering }
    
    Let's continue from the previous example. We wanted to **annotate the function with one type**, but we wanted to be able to return from the function something that actually includes **more data**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  6. tests/test_wrapped_method_forward_reference.py

            return f(*args, **kwargs)
    
        return method
    
    
    def test_wrapped_method_type_inference():
        """
        Regression test ensuring that when a method imported from another module
        is decorated with something that sets the __wrapped__ attribute (functools.wraps),
        then the types are still processed correctly, including dereferencing of forward
        references.
        """
        app = FastAPI()
        client = TestClient(app)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 02 17:23:14 GMT 2025
    - 997 bytes
    - Click Count (0)
  7. CONTRIBUTING.md

    If you have a new feature idea, please build it in an external library. There are
    [many libraries][works_with_okhttp] that sit on top or hook in via existing APIs. If you build
    something that integrates with OkHttp, tell us so that we can link it!
    
    Before code can be accepted all contributors must complete our
    [Individual Contributor License Agreement (CLA)][cla].
    
    
    Code Contributions
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2K bytes
    - Click Count (0)
  8. docs/contribute/contributing.md

    If you have a new feature idea, please build it in an external library. There are
    [many libraries][works_with_okhttp] that sit on top or hook in via existing APIs. If you build
    something that integrates with OkHttp, tell us so that we can link it!
    
    Before code can be accepted all contributors must complete our
    [Individual Contributor License Agreement (CLA)][cla].
    
    
    Code Contributions
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2K bytes
    - Click Count (0)
  9. docs/uk/docs/python-types.md

    `Optional[Something]` насправді є скороченням для `Union[Something, None]`, вони еквівалентні.
    
    Це також означає, що в Python 3.10 ви можете використовувати `Something | None`:
    
    //// tab | Python 3.8 і вище
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009.py!}
    ```
    
    ////
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 19.4K bytes
    - Click Count (0)
  10. internal/rest/client_test.go

    		},
    		{
    			name: "net.Error",
    			err:  &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")},
    			want: true,
    		},
    		{
    			name: "net.Error-unmatched",
    			err:  errors.New("something"),
    			want: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			// Wrap error
    			n := &NetworkError{
    				Err: tt.err,
    			}
    			//nolint:gocritic
    			if tt.target == nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top