Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 1,558 for ison (0.02 sec)

  1. docs/em/docs/tutorial/query-params.md

    ```
    
    📥 🔢 🔢 `needy` ✔ 🔢 🔢 🆎 `str`.
    
    🚥 👆 📂 👆 🖥 📛 💖:
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ...🍵 ❎ ✔ 🔢 `needy`, 👆 🔜 👀 ❌ 💖:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. docs/tr/docs/tutorial/query-params.md

    Eğer tarayıcınızda şu bağlantıyı:
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ...`needy` parametresini eklemeden açarsanız şuna benzer bir hata ile karşılaşırsınız:
    
    ```JSON
    {
      "detail": [
        {
          "type": "missing",
          "loc": [
            "query",
            "needy"
          ],
          "msg": "Field required",
          "input": null,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/custom-request-and-route.md

    /// danger
    
    This is an "advanced" feature.
    
    If you are just starting with **FastAPI** you might want to skip this section.
    
    ///
    
    ## Use cases
    
    Some use cases include:
    
    * Converting non-JSON request bodies to JSON (e.g. <a href="https://msgpack.org/index.html" class="external-link" target="_blank">`msgpack`</a>).
    * Decompressing gzip-compressed request bodies.
    * Automatically logging all request bodies.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. internal/auth/credentials_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package auth
    
    import (
    	"encoding/json"
    	"testing"
    	"time"
    )
    
    func TestExpToInt64(t *testing.T) {
    	testCases := []struct {
    		exp             interface{}
    		expectedFailure bool
    	}{
    		{"", true},
    		{"-1", true},
    		{"1574812326", false},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 01 21:09:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/pilot/status_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package pilot
    
    import (
    	"bytes"
    	"encoding/json"
    	"os"
    	"testing"
    
    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. docs/debugging/s3-verify/go.mod

    module github.com/minio/minio/docs/debugging/s3-verify
    
    go 1.21
    
    require github.com/minio/minio-go/v7 v7.0.70
    
    require (
    	github.com/dustin/go-humanize v1.0.1 // indirect
    	github.com/goccy/go-json v0.10.2 // indirect
    	github.com/google/uuid v1.6.0 // indirect
    	github.com/klauspost/compress v1.17.8 // indirect
    	github.com/klauspost/cpuid/v2 v2.2.7 // indirect
    	github.com/minio/md5-simd v1.1.2 // indirect
    	github.com/rs/xid v1.5.0 // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 13 17:59:52 UTC 2024
    - 688 bytes
    - Viewed (0)
  7. tests/test_datastructures.py

        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/uploadfile/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"filename": "test.txt"}
    
        assert testing_file_store
        assert testing_file_store[0].file.closed
    
    
    # For UploadFile coverage, segments copied from Starlette tests
    
    
    @pytest.mark.anyio
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. docs/fr/docs/advanced/additional-status-codes.md

    Elle ne sera pas sérialisée avec un modèle.
    
    Assurez-vous qu'il contient les données souhaitées et que les valeurs soient dans un format JSON valides (si vous utilisez une `JSONResponse`).
    
    ///
    
    /// note | "Détails techniques"
    
    Vous pouvez également utiliser `from starlette.responses import JSONResponse`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/response-cookies.md

    Lembre-se de que se você retornar uma resposta diretamente em vez de usar o parâmetro `Response`, FastAPI a retornará diretamente.
    
    Portanto, você terá que garantir que seus dados sejam do tipo correto. E.g. será compatível com JSON se você estiver retornando um `JSONResponse`.
    
    E também que você não esteja enviando nenhum dado que deveria ter sido filtrado por um `response_model`.
    
    ///
    
    ### Mais informações
    
    /// note | "Detalhes Técnicos"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 14 09:15:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/response-cookies.md

    Beachten Sie, dass, wenn Sie eine Response direkt zurückgeben, anstatt den `Response`-Parameter zu verwenden, FastAPI diese direkt zurückgibt.
    
    Sie müssen also sicherstellen, dass Ihre Daten vom richtigen Typ sind. Z. B. sollten diese mit JSON kompatibel sein, wenn Sie eine `JSONResponse` zurückgeben.
    
    Und auch, dass Sie keine Daten senden, die durch ein `response_model` hätten gefiltert werden sollen.
    
    ///
    
    ### Mehr Informationen
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top