Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 697 for targs (0.08 sec)

  1. docs_src/query_param_models/tutorial002_py39.py

    
    class FilterParams(BaseModel):
        model_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/")
    async def read_items(filter_query: FilterParams = Query()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 472 bytes
    - Viewed (0)
  2. docs_src/query_param_models/tutorial002.py

    
    class FilterParams(BaseModel):
        model_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/")
    async def read_items(filter_query: FilterParams = Query()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 497 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/MethodDesc.java

         * @param args
         *            メソッドの引数
         * @return メソッドの戻り値
         */
        <T> T invoke(Object target, Object... args);
    
        /**
         * staticなメソッドを呼び出してその戻り値を返します。
         *
         * @param <T>
         *            メソッドの戻り値の型
         * @param args
         *            メソッドの引数
         * @return メソッドの戻り値
         */
        <T> T invokeStatic(Object... args);
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. docs_src/body_nested_models/tutorial006_py310.py

    app = FastAPI()
    
    
    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        images: list[Image] | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 475 bytes
    - Viewed (0)
  5. internal/config/lambda/parse.go

    		webhookTargets, err := GetLambdaWebhook(cfg[config.LambdaWebhookSubSys], transport)
    		if err != nil {
    			return nil, err
    		}
    		for id, args := range webhookTargets {
    			if !args.Enable {
    				continue
    			}
    			t, err := target.NewWebhookTarget(ctx, id, args, logOnceIf, transport)
    			if err != nil {
    				return nil, err
    			}
    			targets = append(targets, t)
    		}
    	}
    	return targets, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. docs_src/body_nested_models/tutorial004_py39.py

    
    class Image(BaseModel):
        url: str
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
        image: Union[Image, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 499 bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        npTester.testAllPublicStaticMethods(ThreadFactoryBuilder.class);
        npTester.testAllPublicInstanceMethods(builder);
      }
    
      private static String rootLocaleFormat(String format, Object... args) {
        return String.format(Locale.ROOT, format, args);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. docs_src/response_model/tutorial001_py39.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: list[str] = []
    
    
    @app.post("/items/", response_model=Item)
    async def create_item(item: Item) -> Any:
        return item
    
    
    @app.get("/items/", response_model=list[Item])
    async def read_items() -> Any:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 556 bytes
    - Viewed (0)
  9. configure.py

      parser.add_argument(
          '--workspace',
          type=str,
          default=os.path.abspath(os.path.dirname(__file__)),
          help='The absolute path to your active Bazel workspace.')
      args = parser.parse_args()
    
      _TF_WORKSPACE_ROOT = args.workspace
      _TF_BAZELRC = os.path.join(_TF_WORKSPACE_ROOT, _TF_BAZELRC_FILENAME)
    
      # Make a copy of os.environ to be clear when functions and getting and setting
      # environment variables.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 48.2K bytes
    - Viewed (0)
  10. okhttp/src/main/resources/META-INF/native-image/okhttp/okhttp/native-image.properties

    Args = -H:+AddAllCharsets -H:EnableURLProtocols=http,https --enable-https --features=okhttp3.internal.graal.OkHttpFeature...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 122 bytes
    - Viewed (0)
Back to top