Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1761 - 1770 of 3,211 for List (0.03 sec)

  1. tests/test_multi_body_errors.py

    from decimal import Decimal
    from typing import List
    
    from dirty_equals import IsDict, IsOneOf
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, condecimal
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        age: condecimal(gt=Decimal(0.0))  # type: ignore
    
    
    @app.post("/items/")
    def save_item_no_body(item: List[Item]):
        return {"item": item}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. internal/config/api/help.go

    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         apiCorsAllowOrigin,
    			Description: `set comma separated list of origins allowed for CORS requests` + defaultHelpPostfix(apiCorsAllowOrigin),
    			Optional:    true,
    			Type:        "csv",
    		},
    		config.HelpKV{
    			Key:         apiRemoteTransportDeadline,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/AccessTokenDbm.java

        public ColumnInfo columnUpdatedBy() {
            return _columnUpdatedBy;
        }
    
        public ColumnInfo columnUpdatedTime() {
            return _columnUpdatedTime;
        }
    
        protected List<ColumnInfo> ccil() {
            List<ColumnInfo> ls = newArrayList();
            ls.add(columnCreatedBy());
            ls.add(columnCreatedTime());
            ls.add(columnExpiredTime());
            ls.add(columnName());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        }
      }
    
      protected final void expectReplacement(Entry<K, V> newEntry) {
        List<Entry<K, V>> expected = copyToList(getSampleElements());
        replaceValue(expected, newEntry);
        expectContents(expected);
      }
    
      private void replaceValue(List<Entry<K, V>> expected, Entry<K, V> newEntry) {
        for (ListIterator<Entry<K, V>> i = expected.listIterator(); i.hasNext(); ) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

            return asHtml(path_AdminDictKuromoji_AdminDictKuromojiJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            validate(form, messages -> {}, this::asDictIndexHtml);
            pageNumber.ifPresent(num -> {
                kuromojiPager.setCurrentPageNumber(pageNumber.get());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  6. manifests/addons/dashboards/pilot-dashboard.gen.json

                "x": 0,
                "y": 1
             },
             "id": 2,
             "interval": "5s",
             "options": {
                "legend": {
                   "calcs": [ ],
                   "displayMode": "list"
                }
             },
             "pluginVersion": "v11.0.0",
             "targets": [
                {
                   "datasource": {
                      "type": "prometheus",
                      "uid": "$datasource"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/RangeTest.java

      }
    
      public void testEncloseAll_nullValue() {
        List<@Nullable Integer> nullFirst = Lists.newArrayList(null, 0);
        assertThrows(NullPointerException.class, () -> Range.encloseAll((List<Integer>) nullFirst));
        List<@Nullable Integer> nullNotFirst = Lists.newArrayList(0, null);
        assertThrows(NullPointerException.class, () -> Range.encloseAll((List<Integer>) nullNotFirst));
      }
    
      public void testEquivalentFactories() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. .github/workflows/codeql-analysis.yml

        runs-on: ubuntu-latest
    
        strategy:
          fail-fast: false
          matrix:
            # Override automatic language detection by changing the below list
            # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
            language: ['java', 'javascript']
            # Learn more...
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:32:33 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy

        def format = new SimpleDateFormat('yyyyMMddHHmmssZ')
    
        def setup() {
            format.timeZone = TimeZone.getTimeZone("UTC")
        }
    
        def "final release is added to list"() {
            def snapshot = snapshot('4.3')
            def rc = releasedVersion('4.3-rc-1')
            def versions = releasedVersions(snapshot, rc, [])
            def version = new ReleasedVersion('4.2', '20170913122310+0000')
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.4K bytes
    - Viewed (0)
  10. docs/zh/docs/python-types.md

    ```
    
    ### 嵌套类型
    
    有些容器数据结构可以包含其他的值,比如 `dict`、`list`、`set` 和 `tuple`。它们内部的值也会拥有自己的类型。
    
    你可以使用 Python 的 `typing` 标准库来声明这些类型以及子类型。
    
    它专门用来支持这些类型提示。
    
    #### 列表
    
    例如,让我们来定义一个由 `str` 组成的 `list` 变量。
    
    从 `typing` 模块导入 `List`(注意是大写的 `L`):
    
    ```Python hl_lines="1"
    {!../../docs_src/python_types/tutorial006.py!}
    ```
    
    同样以冒号(`:`)来声明这个变量。
    
    输入 `List` 作为类型。
    
    由于列表是带有"子类型"的类型,所以我们把子类型放在方括号中:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top