Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 9,456 for withB (0.03 sec)

  1. tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py

            }
        )
    
    
    @needs_py39
    def test_post_file_no_token(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    /*
    Copyright The Kubernetes Authors.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. internal/ioutil/wait_pipe.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package ioutil
    
    import (
    	"io"
    	"sync"
    )
    
    // PipeWriter is similar to io.PipeWriter with wait group
    type PipeWriter struct {
    	*io.PipeWriter
    	once sync.Once
    	done func()
    }
    
    // CloseWithError close with supplied error the writer end.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 27 14:55:36 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. docs/en/docs/management-tasks.md

    ## Edit PR Titles
    
    * Edit the PR title to start with an emoji from <a href="https://gitmoji.dev/" class="external-link" target="_blank">gitmoji</a>.
        * Use the emoji character, not the GitHub code. So, use `🐛` instead of `:bug:`. This is so that it shows up correctly outside of GitHub, for example in the release notes.
        * For translations use the `🌐` emoji ("globe with meridians").
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 16 21:56:33 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. helm-releases/minio-4.0.5.tgz

    install ## ## In addition to default policies [readonly|readwrite|writeonly|consoleAdmin|diagnostics] ## you can define additional policies with custom supported actions and resources policies: [] ## writeexamplepolicy policy grants creation or deletion of buckets with name ## starting with example. In addition, grants objects write permissions on buckets starting with ## example. # - name: writeexamplepolicy # statements: # - resources: # - 'arn:aws:s3:::example*/*' # actions: # - "s3:AbortMultipartUpload"...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jul 16 06:42:56 UTC 2022
    - 18.3K bytes
    - Viewed (0)
  6. helm-releases/minio-4.0.8.tgz

    install ## ## In addition to default policies [readonly|readwrite|writeonly|consoleAdmin|diagnostics] ## you can define additional policies with custom supported actions and resources policies: [] ## writeexamplepolicy policy grants creation or deletion of buckets with name ## starting with example. In addition, grants objects write permissions on buckets starting with ## example. # - name: writeexamplepolicy # statements: # - resources: # - 'arn:aws:s3:::example*/*' # actions: # - "s3:AbortMultipartUpload"...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 29 23:39:54 UTC 2022
    - 18.6K bytes
    - Viewed (0)
  7. CITATION.cff

    # This CITATION.cff file was generated with cffinit.
    # Visit https://bit.ly/cffinit to generate yours today!
    
    cff-version: 1.2.0
    title: FastAPI
    message: >-
      If you use this software, please cite it using the
      metadata from this file.
    type: software
    authors:
      - given-names: Sebastián
        family-names: Ramírez
        email: ******@****.***
    identifiers:
    repository-code: 'https://github.com/fastapi/fastapi'
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 614 bytes
    - Viewed (0)
  8. docs/en/docs/reference/exceptions.md

    # Exceptions - `HTTPException` and `WebSocketException`
    
    These are the exceptions that you can raise to show errors to the client.
    
    When you raise an exception, as would happen with normal Python, the rest of the execution is aborted. This way you can raise these exceptions from anywhere in the code to abort a request and show the error to the client.
    
    You can use:
    
    * `HTTPException`
    * `WebSocketException`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 597 bytes
    - Viewed (0)
  9. tests/test_tutorial/test_background_tasks/test_tutorial002_py310.py

        response = client.post("/send-notification/******@****.***?q=some-query")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Message sent"}
        with open("./log.txt") as f:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 628 bytes
    - Viewed (0)
  10. doc/next/6-stdlib/99-minor/encoding/json/45669.md

    When marshaling, a struct field with the new `omitzero` option in the struct field
    tag will be omitted if its value is zero. If the field type has an `IsZero() bool`
    method, that will be used to determine whether the value is zero. Otherwise, the
    value is zero if it is [the zero value for its type](/ref/spec#The_zero_value).
    
    If both `omitempty` and `omitzero` are specified, the field will be omitted if the
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:27 UTC 2024
    - 452 bytes
    - Viewed (0)
Back to top