Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 84 for Allain (0.15 sec)

  1. tests/test_tutorial/test_body/test_tutorial001_py310.py

        }
    
    
    @needs_py310
    def test_wrong_headers(client: TestClient):
        data = '{"name": "Foo", "price": 50.5}'
        response = client.post(
            "/items/", content=data, headers={"Content-Type": "text/plain"}
        )
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "model_attributes_type",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 15K bytes
    - Viewed (2)
  2. tests/test_tutorial/test_body/test_tutorial001.py

            "tax": None,
        }
    
    
    def test_wrong_headers(client: TestClient):
        data = '{"name": "Foo", "price": 50.5}'
        response = client.post(
            "/items/", content=data, headers={"Content-Type": "text/plain"}
        )
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "model_attributes_type",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 14.7K bytes
    - Viewed (7)
  3. docs/en/docs/advanced/custom-response.md

    ```
    
    ### `HTMLResponse`
    
    Takes some text or bytes and returns an HTML response, as you read above.
    
    ### `PlainTextResponse`
    
    Takes some text or bytes and returns an plain text response.
    
    ```Python hl_lines="2  7  9"
    {!../../../docs_src/custom_response/tutorial005.py!}
    ```
    
    ### `JSONResponse`
    
    Takes some data and returns an `application/json` encoded response.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. internal/logger/config.go

    		},
    		config.KV{
    			Key:   KafkaSASLUsername,
    			Value: "",
    		},
    		config.KV{
    			Key:   KafkaSASLPassword,
    			Value: "",
    		},
    		config.KV{
    			Key:   KafkaSASLMechanism,
    			Value: "plain",
    		},
    		config.KV{
    			Key:   KafkaClientTLSCert,
    			Value: "",
    		},
    		config.KV{
    			Key:   KafkaClientTLSKey,
    			Value: "",
    		},
    		config.KV{
    			Key:   KafkaTLSClientAuth,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  5. .space/CODEOWNERS

    /plugins/kapt3/kapt3-compiler/tests-gen/ "Kotlin Compiler Core" "Kotlin JVM"
    /plugins/kapt4/ "Kotlin JVM"
    /plugins/kotlinx-serialization/ Sergey.Shanshin Leonid.Startsev
    /plugins/js-plain-objects/ Artem.Kobzar
    /libraries/tools/js-plain-objects Artem.Kobzar
    /plugins/lombok/ "Kotlin Compiler Core"
    /plugins/noarg/ "Kotlin Compiler Core"
    /plugins/parcelize/ "Kotlin Compiler Core"
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 19:58:12 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Collections2.java

        }
      }
    
      /**
       * Returns a {@link Collection} of all the permutations of the specified {@link Collection}.
       *
       * <p><i>Notes:</i> This is an implementation of the Plain Changes algorithm for permutations
       * generation, described in Knuth's "The Art of Computer Programming", Volume 4, Chapter 7,
       * Section 7.2.1.2.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                    resolvedCalls += operatorCall
                    // This method only handles compound assignment. Other cases like `plusAssign`, `rangeTo`, `contains` are handled by plain
                    // `handleAsFunctionCall`
                    if (operatorCall.resultingDescriptor.name !in operatorWithAssignmentVariant) return null
                    val operatorPartiallyAppliedSymbol =
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
  8. docs/en/data/external_links.yml

        title: Building a CRUD API with FastAPI and Supabase
      - author: Adejumo Ridwan Suleiman
        author_link: https://www.linkedin.com/in/adejumoridwan/
        link: https://medium.com/python-in-plain-english/build-an-sms-spam-classifier-serverless-database-with-faunadb-and-fastapi-23dbb275bc5b
        title: Build an SMS Spam Classifier Serverless Database with FaunaDB and FastAPI
      - author: Raf Rasenberg
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 21 20:57:27 GMT 2024
    - 21.3K bytes
    - Viewed (2)
  9. guava/src/com/google/common/collect/Collections2.java

        }
      }
    
      /**
       * Returns a {@link Collection} of all the permutations of the specified {@link Collection}.
       *
       * <p><i>Notes:</i> This is an implementation of the Plain Changes algorithm for permutations
       * generation, described in Knuth's "The Art of Computer Programming", Volume 4, Chapter 7,
       * Section 7.2.1.2.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. docs/en/docs/async.md

    instead of being called directly (as it would block the server).
    
    If you are coming from another async framework that does not work in the way described above and you are used to defining trivial compute-only *path operation functions* with plain `def` for a tiny performance gain (about 100 nanoseconds), please note that in **FastAPI** the effect would be quite opposite. In these cases, it's better to use `async def` unless your *path operation functions* use code that performs blocking <abbr...
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
Back to top