Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 1,122 for dist (0.04 seconds)

  1. src/main/webapp/WEB-INF/view/admin/dict/synonym/admin_dict_synonym.jsp

                                        <la:link href="/admin/dict" styleClass="btn btn-default btn-xs">
                                            <i class="fa fa-book" aria-hidden="true"></i>
                                            <la:message key="labels.dict_list_link"/>
                                        </la:link>
                                        <la:link href="list/1?dictId=${f:u(dictId)}"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 10.2K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/body-updates.md

    比如,`item.model_dump(exclude_unset=True)`。
    
    这会生成一个 `dict`,只包含创建 `item` 模型时显式设置的数据,不包含默认值。
    
    然后再用它生成一个只含已设置(在请求中发送)数据、且省略默认值的 `dict`:
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    ### 使用 Pydantic 的 `update` 参数 { #using-pydantics-update-parameter }
    
    接下来,用 `.model_copy()` 为已有模型创建副本,并传入 `update` 参数,值为包含更新数据的 `dict`。
    
    例如,`stored_item_model.model_copy(update=update_data)`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  3. docs/es/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Un `dict` del ejemplo anterior { #a-dict-from-the-previous-example }
    
    En el ejemplo anterior, estábamos devolviendo un `dict` de nuestra dependencia ("dependable"):
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    Pero luego obtenemos un `dict` en el parámetro `commons` de la *path operation function*.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  4. tests/test_dependency_yield_except_httpexception.py

    
    @app.put("/invalid-user/{user_id}")
    def put_invalid_user(
        user_id: str, name: str = Body(), db: dict = Depends(get_database)
    ):
        db[user_id] = name
        raise HTTPException(status_code=400, detail="Invalid user")
    
    
    @app.put("/user/{user_id}")
    def put_user(user_id: str, name: str = Body(), db: dict = Depends(get_database)):
        db[user_id] = name
        return {"message": "OK"}
    
    
    @pytest.fixture(autouse=True)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/constants/SuggestConstants.java

        /** The system property name for user dictionary encoding. */
        public static final String USER_DICT_ENCODING = "fess.user.dict.encoding";
    
        /** The system property name for user dictionary path. */
        public static final String USER_DICT_PATH = "fess.user.dict.path";
    
        /** The text separator. */
        public static final String TEXT_SEPARATOR = " ";
    
        /** The default role for guest users. */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

                Path dest = outputRoot().toPath().resolve(test.path)
                // Replace the extension
                String fileName = dest.getName(dest.nameCount - 1)
                dest = dest.parent.resolve(fileName.replace('.asciidoc', '.yml'))
    
                // Now setup the writer
                Files.createDirectories(dest.parent)
                current = dest.newPrintWriter('UTF-8')
            }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  7. docs/ru/docs/advanced/testing-dependencies.md

    ### Используйте атрибут `app.dependency_overrides` { #use-the-app-dependency-overrides-attribute }
    
    Для таких случаев у вашего приложения **FastAPI** есть атрибут `app.dependency_overrides`, это простой `dict`.
    
    Чтобы переопределить зависимость для тестирования, укажите в качестве ключа исходную зависимость (функцию), а в качестве значения — ваше переопределение зависимости (другую функцию).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 30 11:37:11 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. internal/ioutil/read_file.go

    	if err != nil {
    		return nil, nil, err
    	}
    	defer f.Close()
    
    	st, err := f.Stat()
    	if err != nil {
    		return nil, nil, err
    	}
    
    	dst := make([]byte, st.Size())
    	_, err = io.ReadFull(f, dst)
    	return dst, st, err
    }
    
    // ReadFile reads the named file and returns the contents.
    // A successful call returns err == nil, not err == EOF.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Dec 09 18:17:51 GMT 2023
    - 2.3K bytes
    - Click Count (0)
  9. docs_src/dependency_testing/tutorial001_an_py310.py

        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.5K bytes
    - Click Count (0)
  10. internal/disk/disk_unix.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"syscall"
    )
    
    // SameDisk reports whether di1 and di2 describe the same disk.
    func SameDisk(disk1, disk2 string) (bool, error) {
    	st1 := syscall.Stat_t{}
    	st2 := syscall.Stat_t{}
    
    	if err := syscall.Stat(disk1, &st1); err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 1.2K bytes
    - Click Count (0)
Back to Top