Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,076 for rquery (0.09 sec)

  1. docs_src/query_params_str_validations/tutorial010_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            Union[str, None],
            Query(
                alias="item-query",
                title="Query string",
                description="Query string for the items to search in the database that have a good match",
                min_length=3,
                max_length=50,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 635 bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/header-params.md

    ```
    
    ////
    
    /// note | "📡 ℹ"
    
    `Header` "👭" 🎓 `Path`, `Query` & `Cookie`. âšĢī¸ 😖 âšĒī¸âžĄī¸ 🎏 ⚠ `Param` 🎓.
    
    ✋ī¸ 💭 👈 🕐❔ 👆 🗄 `Query`, `Path`, `Header`, & 🎏 âšĒī¸âžĄī¸ `fastapi`, 👈 🤙 đŸ”ĸ 👈 📨 🎁 🎓.
    
    ///
    
    /// info
    
    đŸ“Ŗ 🎚, 👆 đŸ’Ē ⚙ī¸ `Header`, ↩ī¸ âĒ đŸ”ĸ 🔜 đŸ”Ŧ đŸ”ĸ đŸ”ĸ.
    
    ///
    
    ## 🏧 🛠ī¸
    
    `Header` ✔ī¸ đŸĨ ➕ 🛠ī¸ 🔛 🔝 âšĢī¸â” `Path`, `Query` & `Cookie` 🚚.
    
    🌅 🐩 🎚 🎏 "🔠" đŸĻš, 💭 "➖ đŸ”Ŗ" (`-`).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsCrawlingInfoCB.java

        //                                                                               Query
        //                                                                               =====
        public BsCrawlingInfoCQ query() {
            assertQueryPurpose();
            return doGetConditionQuery();
        }
    
        protected BsCrawlingInfoCQ doGetConditionQuery() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/cbean/bs/BsGroupCB.java

        // ===================================================================================
        //                                                                               Query
        //                                                                               =====
        public BsGroupCQ query() {
            assertQueryPurpose();
            return doGetConditionQuery();
        }
    
        protected BsGroupCQ doGetConditionQuery() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. tests/test_multi_query_errors.py

    from typing import List
    
    from dirty_equals import IsDict
    from fastapi import FastAPI, Query
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/items/")
    def read_items(q: List[int] = Query(default=None)):
        return {"q": q}
    
    
    client = TestClient(app)
    
    
    def test_multi_query():
        response = client.get("/items/?q=5&q=6")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. tests/test_openapi_examples.py

                                "examples": {
                                    "Query One": {
                                        "summary": "Query One Summary",
                                        "description": "Query One Description",
                                        "value": "query1",
                                    },
                                    "Query Two": {"value": "query2"},
                                },
                            }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 15:57:43 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  7. cmd/signature-v2_test.go

    	for i, testCase := range testCases {
    		// Turn the map[string]string into map[string][]string, because Go.
    		query := url.Values{}
    		for key, value := range testCase.queryParams {
    			query.Set(key, value)
    		}
    		// Create a request to use.
    		req, err := http.NewRequest(http.MethodGet, "http://host/a/b?"+query.Encode(), nil)
    		if err != nil {
    			t.Errorf("(%d) failed to create http.Request, got %v", i, err)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 8K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_websockets/test_tutorial002.py

                assert data == "Session cookie or query token value is: fakesession"
                data = websocket.receive_text()
                assert data == f"Message text was: {message}, for item ID: foo"
                message = "Message two"
                websocket.send_text(message)
                data = websocket.receive_text()
                assert data == "Session cookie or query token value is: fakesession"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 13 14:26:09 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  9. test-site/app/controllers/Suggest.java

            Map<String, String[]> params = request().queryString();
            String[] callback = params.get("callback");
            String[] query = params.get("query");
            try {
                SuggestIndex suggestIndex = new SuggestIndex();
                SuggestResponse response = suggestIndex.suggest(query[0]);
    
                XContentBuilder builder  = JsonXContent.contentBuilder()
                    .startObject()
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  10. tests/preload_test.go

    		t.Fatalf("failed to preload and find users: %v", err)
    	}
    
    	AssertEqual(t, result, users)
    	AssertEqual(t, len(query), 2) // Check preload queries are merged
    
    	if !regexp.MustCompile(`SELECT \* FROM .*tools.* WHERE .*IN.*`).MatchString(query[0]) {
    		t.Fatalf("Expected first query to preload manager tools, got: %s", query[0])
    	}
    }
    
    func TestNestedPreloadWithPointerJoin(t *testing.T) {
    	type (
    		Preload struct {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top