Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 762 for seni (0.16 sec)

  1. docs_src/handling_errors/tutorial006.py

        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)
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: int):
        if item_id == 3:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 09 11:10:33 UTC 2020
    - 928 bytes
    - Viewed (0)
  2. fastapi/applications.py

                self.add_route(self.redoc_url, redoc_html, include_in_schema=False)
    
        async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:
            if self.root_path:
                scope["root_path"] = self.root_path
            await super().__call__(scope, receive, send)
    
        def add_api_route(
            self,
            path: str,
            endpoint: Callable[..., Any],
            *,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_request_files/test_tutorial001_02_py310.py

        assert response.status_code == 200, response.text
        assert response.json() == {"message": "No file sent"}
    
    
    @needs_py310
    def test_post_uploadfile_no_body(client: TestClient):
        response = client.post("/uploadfile/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "No upload file sent"}
    
    
    @needs_py310
    def test_post_file(tmp_path: Path, client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/async-tests.md

    bereitgestellten `TestClient` testen. Bisher haben Sie nur gesehen, wie man synchrone Tests schreibt, ohne `async`hrone Funktionen zu verwenden.
    
    Die Möglichkeit, in Ihren Tests asynchrone Funktionen zu verwenden, könnte beispielsweise nützlich sein, wenn Sie Ihre Datenbank asynchron abfragen. Stellen Sie sich vor, Sie möchten das Senden von Requests an Ihre FastAPI-Anwendung testen und dann überprüfen, ob Ihr Backend die richtigen Daten erfolgreich in die Datenbank geschrieben hat, während Sie...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:34:47 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileOutputStream.java

                        Smb2SetInfoRequest treq = new Smb2SetInfoRequest(th.getConfig(), fh.getFileId());
                        treq.setFileInformation(new FileEndOfFileInformation(0));
                        th.send(treq, RequestParam.NO_RETRY);
                    }
                }
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  6. docs/de/docs/how-to/custom-docs-ui-assets.md

    ```
    
    ### Es ausprobieren
    
    Jetzt sollten Sie in der Lage sein, zu Ihrer Dokumentation auf <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a> zu gehen und die Seite neu zuladen, die Assets werden nun vom neuen CDN geladen.
    
    ## JavaScript und CSS für die Dokumentation selbst hosten
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. ISSUES.md

    If you open a GitHub Issue, here is our policy:
    
    1.  It must be a bug/performance issue or a feature request or a build issue or
        a documentation issue (for small doc fixes please send a PR instead).
    1.  Make sure the Issue Template is filled out.
    1.  The issue should be related to the repo it is created in.
    
    **Here's why we have this policy:** We want to focus on the work that benefits
    the whole community, e.g., fixing bugs and adding features. Individual support
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Feb 11 22:37:27 UTC 2021
    - 606 bytes
    - Viewed (0)
  8. docs/de/docs/how-to/separate-openapi-schemas.md

    Das bedeutet, dass Clients, die Ihre API verwenden, nicht prüfen müssen, ob der Wert vorhanden ist oder nicht. Sie können davon ausgehen, dass das Feld immer vorhanden ist. In einigen Fällen hat es jedoch nur den Defaultwert `None`.
    
    Um dies in OpenAPI zu kennzeichnen, markieren Sie dieses Feld als **erforderlich**, da es immer vorhanden sein wird.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. internal/s3select/message.go

    		strconv.FormatInt(bytesReturned, 10) + `</BytesReturned></Stats>`)
    	return genMessage(statsHeader, payload)
    }
    
    // endMessage - indicates that the request is complete, and no more messages will be sent.
    // You should not assume that the request is complete until the client receives an End message.
    //
    // Header specification:
    // End messages contain two headers, as follows:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  10. internal/http/server.go

    	"errors"
    	"log"
    	"net"
    	"net/http"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/dustin/go-humanize"
    )
    
    var (
    	// GlobalMinIOVersion - is sent in the header to all http targets
    	GlobalMinIOVersion string
    
    	// GlobalDeploymentID - is sent in the header to all http targets
    	GlobalDeploymentID string
    )
    
    const (
    	// DefaultIdleTimeout for idle inactive connections
    	DefaultIdleTimeout = 30 * time.Second
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 18:42:47 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top