Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 443 for ID (0.14 sec)

  1. cmd/xl-storage-disk-id-check.go

    		}
    	}
    }
    
    // checkID will check if the disk ID matches the provided ID.
    func (p *xlStorageDiskIDCheck) checkID(wantID string) (err error) {
    	if wantID == "" {
    		return nil
    	}
    	id, err := p.storage.GetDiskID()
    	if err != nil {
    		return err
    	}
    	if id != wantID {
    		return fmt.Errorf("disk ID %s does not match. disk reports %s", wantID, id)
    	}
    	return nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. fastapi/security/open_id_connect_url.py

    Aleksei Kotenko <******@****.***> 1712026131 +0100
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. tests/main.py

        return "Hello World"
    
    
    @app.get("/path/{item_id}")
    def get_id(item_id):
        return item_id
    
    
    @app.get("/path/str/{item_id}")
    def get_str_id(item_id: str):
        return item_id
    
    
    @app.get("/path/int/{item_id}")
    def get_int_id(item_id: int):
        return item_id
    
    
    @app.get("/path/float/{item_id}")
    def get_float_id(item_id: float):
        return item_id
    
    
    @app.get("/path/bool/{item_id}")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

                }
            }
        }
    
        @Override
        public Optional<Type> lookup(String id) {
            return Optional.of(require(id));
        }
    
        @Override
        @Nonnull
        public Type require(String id) {
            nonNull(id, "id");
            return usedTypes.computeIfAbsent(id, i -> {
                Type type = types.get(id);
                if (type == null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultLifecycleBindingsInjector.java

                cur.getExecutions().forEach(e -> execs.put(e.getId(), e));
                plugin.getExecutions().forEach(e -> {
                    int i = 0;
                    String id = e.getId();
                    while (execs.putIfAbsent(id, e.withId(id)) != null) {
                        id = e.getId() + "-" + (++i);
                    }
                });
                Plugin merged = cur.withExecutions(execs.values());
                plugins.put(merged, merged);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body_multiple_params/test_tutorial001_py310.py

        assert response.status_code == 200
        assert response.json() == {"item_id": 5, "q": "bar"}
    
    
    @needs_py310
    def test_post_no_body(client: TestClient):
        response = client.put("/items/5", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5}
    
    
    @needs_py310
    def test_post_id_foo(client: TestClient):
        response = client.put("/items/foo", json=None)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  7. internal/grid/handlers.go

    }
    
    func (h *handlers) hasAny(id HandlerID) bool {
    	if !id.valid() {
    		return false
    	}
    	return h.single[id] != nil || h.stateless[id] != nil || h.streams[id] != nil
    }
    
    func (h *handlers) hasSubhandler(id subHandlerID) bool {
    	return h.subSingle[id] != nil || h.subStateless[id] != nil || h.subStreams[id] != nil
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py

                        "summary": "Update Item",
                        "operationId": "update_item_items__item_id__put",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {"title": "Item Id", "type": "integer"},
                                "name": "item_id",
                                "in": "path",
                            }
                        ],
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  9. docs/he/docs/index.md

    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  10. docs/de/docs/index.md

    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:28:17 GMT 2024
    - 21.2K bytes
    - Viewed (0)
Back to top