Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2411 - 2420 of 4,488 for Same (0.02 sec)

  1. docs_src/body_nested_models/tutorial005_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel, HttpUrl
    
    app = FastAPI()
    
    
    class Image(BaseModel):
        url: HttpUrl
        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}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 512 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py

            "components": {
                "schemas": {
                    "Item": {
                        "title": "Item",
                        "required": ["name", "price"],
                        "type": "object",
                        "properties": {
                            "name": {"title": "Name", "type": "string"},
                            "description": {
                                "title": "Description",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/CircleCIDetector.java

        public static final String NAME = "CircleCI";
    
        private static final String CIRCLECI = "CIRCLECI";
    
        @Override
        public Optional<CIInfo> detectCI() {
            String ciEnv = System.getenv(CIRCLECI);
            if ("true".equals(ciEnv)) {
                return Optional.of(new CIInfo() {
                    @Override
                    public String name() {
                        return NAME;
                    }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/JenkinsCIDetector.java

        public static final String NAME = "Jenkins";
    
        private static final String WORKSPACE = "WORKSPACE";
    
        @Override
        public Optional<CIInfo> detectCI() {
            String workspace = System.getenv(WORKSPACE);
            if (workspace != null && !workspace.trim().isEmpty()) {
                return Optional.of(new CIInfo() {
                    @Override
                    public String name() {
                        return NAME;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Apr 13 18:50:07 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_dependencies/test_tutorial005.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial005_py39"),
            pytest.param("tutorial005_py310", marks=needs_py310),
            pytest.param("tutorial005_an_py39"),
            pytest.param("tutorial005_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PomBuilder.java

            this.plugins.add(new Plugin(groupId, artifactId, version));
            return this;
        }
    
        public PomBuilder property(String name, String value) {
            this.properties.add(new Property(name, value));
            return this;
        }
    
        public String build() {
            StringBuilder xml = new StringBuilder();
            xml.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/body-multiple-params.md

    En este caso, **FastAPI** esperará un cuerpo como:
    
    ```JSON hl_lines="2"
    {
        "item": {
            "name": "Foo",
            "description": "The pretender",
            "price": 42.0,
            "tax": 3.2
        }
    }
    ```
    
    en lugar de:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    ## Resumen { #recap }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. schema/utils.go

    			results = append(results, strings.TrimSpace(v))
    		}
    	}
    	return
    }
    
    func removeSettingFromTag(tag reflect.StructTag, names ...string) reflect.StructTag {
    	for _, name := range names {
    		tag = reflect.StructTag(regexp.MustCompile(`(?i)(gorm:.*?)(`+name+`(:.*?)?)(;|("))`).ReplaceAllString(string(tag), "${1}${5}"))
    	}
    	return tag
    }
    
    func appendSettingFromTag(tag reflect.StructTag, value string) reflect.StructTag {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 11:15:36 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. cmd/ftp-server.go

    	}
    
    	name := "MinIO FTP Server"
    	if tls {
    		name = "MinIO FTP(Secure) Server"
    	}
    
    	ftpServer, err := ftp.NewServer(&ftp.Options{
    		Name:           name,
    		WelcomeMessage: fmt.Sprintf("Welcome to '%s' FTP Server Version='%s' License='%s'", MinioStoreName, MinioLicense, Version),
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. .github/workflows/label-approved.yml

          uses: actions/setup-python@v6
          with:
            python-version: "3.11"
        - name: Setup uv
          uses: astral-sh/setup-uv@v7
          with:
            version: "0.4.15"
            enable-cache: true
            cache-dependency-glob: |
                requirements**.txt
                pyproject.toml
        - name: Install GitHub Actions dependencies
          run: uv pip install -r requirements-github-actions.txt
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Nov 21 13:03:21 UTC 2025
    - 1.1K bytes
    - Viewed (0)
Back to top