Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2001 - 2010 of 2,957 for name4 (0.02 sec)

  1. docs_src/body_multiple_params/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Path
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: str | None = None,
        item: Item | None = None,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 579 bytes
    - Viewed (0)
  2. tests/test_repeated_cookie_headers.py

    from fastapi import Depends, FastAPI, Response
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    def set_cookie(*, response: Response):
        response.set_cookie("cookie-name", "cookie-value")
        return {}
    
    
    def set_indirect_cookie(*, dep: str = Depends(set_cookie)):
        return dep
    
    
    @app.get("/directCookie")
    def get_direct_cookie(dep: str = Depends(set_cookie)):
        return {"dep": dep}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jun 13 12:44:51 UTC 2020
    - 792 bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/admin/dict/kuromoji/admin_dict_kuromoji_details.jsp

    <div class="wrapper">
        <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="system"/>
            <jsp:param name="menuType" value="dict"/>
        </jsp:include>
        <div class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 8K bytes
    - Viewed (0)
  4. compat/maven-plugin-api/pom.xml

        <artifactId>maven</artifactId>
        <version>4.0.0-beta-6-SNAPSHOT</version>
    
        <relativePath>../../</relativePath>
      </parent>
    
      <artifactId>maven-plugin-api</artifactId>
    
      <name>Maven 3 Plugin API</name>
      <description>The API for Maven 3 plugins - Mojos - development.</description>
    
      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-xml</artifactId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. common/scripts/tracing.sh

        "ci.pipeline.run.base=${PULL_BASE_REF:-none},"\
        "ci.pipeline.run.pull_number=${PULL_NUMBER:-none},"\
        "ci.pipeline.run.pull_sha=${PULL_PULL_SHA:-${PULL_BASE_SHA:-none}}"
    }
    
    # Usage: tracing::run <span name> [command ...]
    function tracing::run() {
      # If not running in a prow job or otel-cli is not available (e.g. build system without otel-cli) just run the command
      if [ -z "${JOB_NAME:-}" ] || ! command -v otel-cli &> /dev/null
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 28 15:25:47 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. cni/pkg/log/uds_test.go

    		i++
    	}
    }
    
    func TestParseCniLog(t *testing.T) {
    	wantT := &time.Time{}
    	assert.NoError(t, wantT.UnmarshalText([]byte("2020-01-01T00:00:00.356374Z")))
    	cases := []struct {
    		name string
    		in   string
    		out  cniLog
    	}{
    		{
    			"without keys",
    			`{"level":"info","time":"2020-01-01T00:00:00.356374Z","msg":"my message"}`,
    			cniLog{
    				Level:     "info",
    				Time:      *wantT,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

            setNumberOfShards(crawlerConfig.getFilterShards());
            setNumberOfReplicas(crawlerConfig.getFilterReplicas());
        }
    
        public OpenSearchUrlFilterService(final String name, final String type) {
            index = name + "." + type;
        }
    
        @PostConstruct
        public void init() {
            fesenClient.addOnConnectListener(() -> createMapping("filter"));
    
            includeFilterCache = createFilterCache(INCLUDE);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. docs_src/extending_openapi/tutorial001.py

    from fastapi import FastAPI
    from fastapi.openapi.utils import get_openapi
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items():
        return [{"name": "Foo"}]
    
    
    def custom_openapi():
        if app.openapi_schema:
            return app.openapi_schema
        openapi_schema = get_openapi(
            title="Custom title",
            version="2.5.0",
            summary="This is a very custom OpenAPI schema",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 737 bytes
    - Viewed (0)
  9. docs_src/path_operation_advanced_configuration/tutorial007_pv1.py

    from typing import List
    
    import yaml
    from fastapi import FastAPI, HTTPException, Request
    from pydantic import BaseModel, ValidationError
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        tags: List[str]
    
    
    @app.post(
        "/items/",
        openapi_extra={
            "requestBody": {
                "content": {"application/x-yaml": {"schema": Item.schema()}},
                "required": True,
            },
        },
    )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 789 bytes
    - Viewed (0)
  10. docs_src/body_multiple_params/tutorial001_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Path
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: Union[str, None] = None,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 610 bytes
    - Viewed (0)
Back to top