Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,026 for queryFn (0.06 sec)

  1. docs_src/query_params_str_validations/tutorial013.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: list = Query(default=[])):
        query_items = {"q": q}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 175 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

            if (accessTokenPager.id != null) {
                cb.query().docMeta().setId_Equal(accessTokenPager.id);
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_Name_Asc();
            cb.query().addOrderBy_CreatedTime_Asc();
    
            // search
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsFileAuthenticationCB.java

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

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

        //                                                                               Query
        //                                                                               =====
        public BsRelatedContentCQ query() {
            assertQueryPurpose();
            return doGetConditionQuery();
        }
    
        protected BsRelatedContentCQ doGetConditionQuery() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. docs_src/query_params_str_validations/tutorial011_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: list[str] | None = Query(default=None)):
        query_items = {"q": q}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 189 bytes
    - Viewed (0)
  7. docs_src/query_param_models/tutorial002_pv1.py

    from typing import List
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    from typing_extensions import Literal
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        class Config:
            extra = "forbid"
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: List[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 501 bytes
    - Viewed (0)
  8. docs_src/query_params_str_validations/tutorial013_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[list, Query()] = []):
        query_items = {"q": q}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 210 bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/body-multiple-params.md

    # 본문 - 다중 매개변수
    
    지금부터 `Path`와 `Query`를 어떻게 사용하는지 확인하겠습니다.
    
    요청 본문 선언에 대한 심화 사용법을 알아보겠습니다.
    
    ## `Path`, `Query` 및 본문 매개변수 혼합
    
    당연하게 `Path`, `Query` 및 요청 본문 매개변수 선언을 자유롭게 혼합해서 사용할 수 있고, **FastAPI**는 어떤 동작을 할지 압니다.
    
    또한, 기본 값을 `None`으로 설정해 본문 매개변수를 선택사항으로 선언할 수 있습니다.
    
    ```Python hl_lines="19-21"
    {!../../docs_src/body_multiple_params/tutorial001.py!}
    ```
    
    /// note | "참고"
    
    이 경우에는 본문으로 부터 가져온 `	item`은 기본값이 `None`이기 때문에, 선택사항이라는 점을 유의해야 합니다.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. istioctl/pkg/metrics/metrics_test.go

    }
    
    func (client mockPromAPI) Flags(ctx context.Context) (promv1.FlagsResult, error) {
    	return nil, nil
    }
    
    func (client mockPromAPI) Query(ctx context.Context, query string, ts time.Time, opts ...promv1.Option) (prometheus_model.Value, promv1.Warnings, error) {
    	canned, ok := client.cannedResponse[query]
    	if !ok {
    		return prometheus_model.Vector{}, nil, nil
    	}
    	return canned, nil, nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 01:35:47 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top