Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2271 - 2280 of 4,798 for same (0.04 sec)

  1. docs_src/metadata/tutorial004.py

    
    @app.get("/users/", tags=["users"])
    async def get_users():
        return [{"name": "Harry"}, {"name": "Ron"}]
    
    
    @app.get("/items/", tags=["items"])
    async def get_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jun 13 11:58:06 UTC 2020
    - 693 bytes
    - Viewed (0)
  2. tests/test_multi_body_errors.py

            "components": {
                "schemas": {
                    "Item": {
                        "title": "Item",
                        "required": ["name", "age"],
                        "type": "object",
                        "properties": {
                            "name": {"title": "Name", "type": "string"},
                            "age": IsDict(
                                {
                                    "title": "Age",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. internal/event/config.go

    	}
    
    	return &ErrInvalidFilterValue{value}
    }
    
    // FilterRule - represents elements inside <FilterRule>...</FilterRule>
    type FilterRule struct {
    	Name  string `xml:"Name"`
    	Value string `xml:"Value"`
    }
    
    func (filter FilterRule) isEmpty() bool {
    	return filter.Name == "" && filter.Value == ""
    }
    
    // MarshalXML implements a custom marshaller to support `omitempty` feature.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  4. internal/kms/secret-key.go

    		return []madmin.KMSKeyInfo{{Name: s.keyID}}, "", nil
    	}
    	return []madmin.KMSKeyInfo{}, "", nil
    }
    
    // CreateKey returns ErrKeyExists unless req.Name is equal to the secretKey name.
    // The builtin KMS does not support creating multiple keys.
    func (s secretKey) CreateKey(_ context.Context, req *CreateKeyRequest) error {
    	if req.Name != s.keyID {
    		return ErrNotSupported
    	}
    	return ErrKeyExists
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_body_fields/test_tutorial001.py

            "item": {"name": "Foo", "price": 3.0, "description": None, "tax": None},
        }
    
    
    def test_items_6(client: TestClient):
        response = client.put(
            "/items/6",
            json={
                "item": {
                    "name": "Bar",
                    "price": 0.2,
                    "description": "Some bar",
                    "tax": "5.4",
                }
            },
        )
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body_fields/test_tutorial001_py310.py

            "item_id": 5,
            "item": {"name": "Foo", "price": 3.0, "description": None, "tax": None},
        }
    
    
    @needs_py310
    def test_items_6(client: TestClient):
        response = client.put(
            "/items/6",
            json={
                "item": {
                    "name": "Bar",
                    "price": 0.2,
                    "description": "Some bar",
                    "tax": "5.4",
                }
            },
        )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. callbacks/create.go

    					fromColumns := make([]clause.Column, 0, len(db.Statement.Schema.FieldsWithDefaultDBValue))
    					for _, field := range db.Statement.Schema.FieldsWithDefaultDBValue {
    						fromColumns = append(fromColumns, clause.Column{Name: field.DBName})
    					}
    					db.Statement.AddClause(clause.Returning{Columns: fromColumns})
    				}
    			}
    		}
    
    		if db.Statement.SQL.Len() == 0 {
    			db.Statement.SQL.Grow(180)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. fess-crawler-lasta/pom.xml

    	<modelVersion>4.0.0</modelVersion>
    	<artifactId>fess-crawler-lasta</artifactId>
    	<packaging>jar</packaging>
    	<name>Fess Crawler for LastaFlute</name>
    	<description>This is LastaFlute support.</description>
    	<parent>
    		<groupId>org.codelibs.fess</groupId>
    		<artifactId>fess-crawler-parent</artifactId>
    		<version>15.0.0-SNAPSHOT</version>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Jul 29 03:48:55 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            final Map<String, String> tags = new HashMap<>();
            tagItems.keySet().stream().filter(s -> s.startsWith("name")).forEach(nameKey -> {
                final String valueKey = nameKey.replace("name", "value");
                final String name = tagItems.get(nameKey);
                if (StringUtil.isNotBlank(name)) {
                    tags.put(name, tagItems.get(valueKey));
                }
            });
            if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

             *
             * @return name of the tool option for this path, not including the module name
             */
            @Nonnull
            @Override
            public String name() {
                return JavaPathType.this.name();
            }
    
            /**
             * Returns the name of the module for which a path is specified
             *
             * @return name of the module for which a path is specified
             */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top