Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 1,707 for kjson (0.08 sec)

  1. tests/test_validate_response.py

    
    def test_valid_none_data():
        response = client.get("/items/validnone")
        data = response.json()
        assert response.status_code == 200
        assert data == {"name": "invalid", "price": 3.2, "owner_ids": None}
    
    
    def test_valid_none_none():
        response = client.get("/items/validnone", params={"send_none": "true"})
        data = response.json()
        assert response.status_code == 200
        assert data is None
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. tests/test_param_class.py

        response = client.get("/items/")
        assert response.status_code == 200, response.text
        assert response.json() == {"q": None}
    
    
    def test_default_param_query():
        response = client.get("/items/?q=foo")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 636 bytes
    - Viewed (0)
  3. src/test/resources/plugin/repo1/index.html

    <a href="fess-ds-gsuite/" title="fess-ds-gsuite/">fess-ds-gsuite/</a>                                                  -         -      
    <a href="fess-ds-json/" title="fess-ds-json/">fess-ds-json/</a>                                                    -         -      
    <a href="fess-ds-office365/" title="fess-ds-office365/">fess-ds-office365/</a>                                               -         -      
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Aug 13 07:34:14 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/projects/GradleBuildToolRootProject.kt

            projectId = "Check",
            branch = branch,
            buildScanTags = listOf("Check"),
            subprojects = JsonBasedGradleSubprojectProvider(File("./subprojects.json"))
        )
        val gradleBuildBucketProvider = DefaultFunctionalTestBucketProvider(model, File("./test-buckets.json"))
        subProject(CheckProject(model, gradleBuildBucketProvider))
    
        if (!isSecurityFork()) {
            subProject(PromotionProject(model.branch))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 1002 bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/body-nested-models.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="20"
    {!> ../../docs_src/body_nested_models/tutorial006.py!}
    ```
    
    ////
    
    这将期望(转换,校验,记录文档等)下面这样的 JSON 请求体:
    
    ```JSON hl_lines="11"
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2,
        "tags": [
            "rock",
            "metal",
            "bar"
        ],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. internal/s3select/json/errors.go

    // GNU Affero General Public License for more details.
    //
    // 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 json
    
    type s3Error struct {
    	code       string
    	message    string
    	statusCode int
    	cause      error
    }
    
    func (err *s3Error) Cause() error {
    	return err.cause
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/path-params.md

    Из *операции пути* можно вернуть *элементы перечисления*, даже вложенные в тело JSON (например в `dict`).
    
    Они будут преобразованы в соответствующие значения (в данном случае - строки) перед их возвратом клиенту:
    
    ```Python hl_lines="18  21  23"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    Вы отправите клиенту такой JSON-ответ:
    
    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. fastapi/encoders.py

                and those objects can't (and shouldn't be) serialized to JSON.
                """
            ),
        ] = True,
    ) -> Any:
        """
        Convert any object to something that can be encoded in JSON.
    
        This is used internally by FastAPI to make sure anything you return can be
        encoded as JSON before it is sent to the client.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/request-files.md

    ///
    
    ## What is "Form Data"
    
    The way HTML forms (`<form></form>`) sends the data to the server normally uses a "special" encoding for that data, it's different from JSON.
    
    **FastAPI** will make sure to read that data from the right place instead of JSON.
    
    /// note | "Technical Details"
    
    Data from forms is normally encoded using the "media type" `application/x-www-form-urlencoded` when it doesn't include files.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. docs/ko/README.md

     - [Git](https://github.com/codelibs/fess-ds-git)
     - [Gitbucket](https://github.com/codelibs/fess-ds-gitbucket)
     - [G Suite](https://github.com/codelibs/fess-ds-gsuite)
     - [JSON](https://github.com/codelibs/fess-ds-json)
     - [Office 365](https://github.com/codelibs/fess-ds-office365)
     - [S3](https://github.com/codelibs/fess-ds-s3)
     - [Salesforce](https://github.com/codelibs/fess-ds-salesforce)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 07:19:47 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top