Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 816 for checkYes (0.06 sec)

  1. guava/src/com/google/common/collect/ImmutableList.java

        }
    
        private void add(@Nullable Object[] elements, int n) {
          ensureRoomFor(n);
          /*
           * The following call is not statically checked, since arraycopy accepts plain Object for its
           * parameters. If it were statically checked, the checker would still be OK with it, since
           * we're copying into a `contents` array whose type allows it to contain nulls. Still, it's
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  2. docs_src/dependencies/tutorial011_an_py39.py

        def __call__(self, q: str = ""):
            if q:
                return self.fixed_content in q
            return False
    
    
    checker = FixedContentQueryChecker("bar")
    
    
    @app.get("/query-checker/")
    async def read_query_check(fixed_content_included: Annotated[bool, Depends(checker)]):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 544 bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params-str-validations.md

    These custom validators are for things that can be checked with **only** the **same data** provided in the request.
    
    ///
    
    ### Understand that Code { #understand-that-code }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/advanced-dependencies.md

    使用以下代码创建类实例:
    
    {* ../../docs_src/dependencies/tutorial011.py hl[16] *}
    
    这样就可以**参数化**依赖项,它包含 `checker.fixed_content` 的属性 - `"bar"`。
    
    ## 把实例作为依赖项
    
    然后,不要再在 `Depends(checker)` 中使用 `Depends(FixedContentQueryChecker)`, 而是要使用 `checker`,因为依赖项是类实例 - `checker`,不是类。
    
    处理依赖项时,**FastAPI** 以如下方式调用 `checker`:
    
    ```Python
    checker(q="somequery")
    ```
    
    ……并用*路径操作函数*的参数 `fixed_content_included` 返回依赖项的值:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/advanced-dependencies.md

    ## Utilize a instância como dependência { #use-the-instance-as-a-dependency }
    
    Então, nós podemos utilizar este `checker` em um `Depends(checker)`, no lugar de `Depends(FixedContentQueryChecker)`, porque a dependência é a instância, `checker`, e não a própria classe.
    
    E quando a dependência for resolvida, o **FastAPI** chamará este `checker` como:
    
    ```Python
    checker(q="somequery")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 10K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

                for (String s : footer) {
                    writer.writeln(s);
                }
            }
            writer.flush();
        }
    
        /**
         * Checks if parts of the passed in comment can be used as header comment.
         * This method checks whether a header comment can be defined (i.e. whether
         * this is the first comment in the loaded file). If this is the case, it is
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 09:03:48 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                for (String s : footer) {
                    writer.writeln(s);
                }
            }
            writer.flush();
        }
    
        /**
         * Checks if parts of the passed in comment can be used as header comment.
         * This method checks whether a header comment can be defined (i.e. whether
         * this is the first comment in the loaded file). If this is the case, it is
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 38.4K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    String rawChildModelVersion = childModel.getVersion();
    
                    if (rawChildModelVersion == null) {
                        // Message below is checked for in the MNG-2199 core IT.
                        problems.add(new ModelProblemCollectorRequest(Severity.FATAL, Version.V31)
                                .setMessage("Version must be a constant")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:08 UTC 2025
    - 55.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlingAccessException.java

            this.logLevel = logLevel;
        }
    
        /**
         * Checks if the log level is DEBUG.
         *
         * @return true if DEBUG, false otherwise
         */
        public boolean isDebugEnabled() {
            return DEBUG.equals(logLevel);
        }
    
        /**
         * Checks if the log level is INFO.
         *
         * @return true if INFO, false otherwise
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_dependencies/test_tutorial011.py

        "path,expected_status,expected_response",
        [
            (
                "/query-checker/",
                200,
                {"fixed_content_in_query": False},
            ),
            (
                "/query-checker/?q=qwerty",
                200,
                {"fixed_content_in_query": False},
            ),
            (
                "/query-checker/?q=foobar",
                200,
                {"fixed_content_in_query": True},
            ),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top