Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,361 for yields (0.09 sec)

  1. docs_src/dependencies/tutorial008b_an_py39.py

        "portal-gun": {"description": "Gun to create portals", "owner": "Rick"},
    }
    
    
    class OwnerError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except OwnerError as e:
            raise HTTPException(status_code=400, detail=f"Owner error: {e}")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 26 20:37:34 UTC 2023
    - 775 bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.30.md

    - Fixes a 1.30.0 regression in openapi descriptions of imagePullSecrets and hostAliases fields to mark the fields used as keys in those lists as either defaulted or required. ([#124694](https://githu...
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:40:14 UTC 2024
    - 309.1K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

                    + "<doc>\n"//
                    + "<field name=\"title\"><list><item>タイトル</item></list></field>\n"//
                    + "<field name=\"body\"><list><item>第一章 第一節 ほげほげふがふが LINK 第2章 第2節</item></list></field>\n"//
                    + "<field name=\"pcount\">2.0</field>\n"//
                    + "<field name=\"true\">true</field>\n"//
                    + "<field name=\"false\">false</field>\n"//
                    + "</doc>";
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                return convertSortQuery(fessConfig, context, termQuery, boost, field, text);
            }
            if (SITE_FIELD.equals(field)) {
                return convertSiteQuery(fessConfig, context, termQuery, boost, field, text);
            }
            if (INURL_FIELD.equals(field)
                    || StringUtil.equals(field, context.getDefaultField()) && fessConfig.getIndexFieldUrl().equals(context.getDefaultField())) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/TempFileCreator.java

        return new JavaIoCreator();
      }
    
      /**
       * Creates the permissions normally used for Windows filesystems, looking up the user afresh, even
       * if previous calls have initialized the {@code PermissionSupplier} fields.
       *
       * <p>This lets us test the effects of different values of the {@code user.name} system property
       * without needing a separate VM or classloader.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  6. api/next/66626.txt

    pkg go/types, method (*MethodSet) Methods() iter.Seq[*Selection] #66626
    pkg go/types, method (*Named) Methods() iter.Seq[*Func] #66626
    pkg go/types, method (*Scope) Children() iter.Seq[*Scope] #66626
    pkg go/types, method (*Struct) Fields() iter.Seq[*Var] #66626
    pkg go/types, method (*Tuple) Variables() iter.Seq[*Var] #66626
    pkg go/types, method (*TypeList) Types() iter.Seq[Type] #66626
    pkg go/types, method (*TypeParamList) TypeParams() iter.Seq[*TypeParam] #66626
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jul 31 22:54:09 UTC 2024
    - 743 bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/sql-databases.md

    /// info
    
    我们将`SessionLocal()`请求的创建和处理放在一个`try`块中。
    
    然后我们在finally块中关闭它。
    
    通过这种方式,我们确保数据库会话在请求后始终关闭。即使在处理请求时出现异常。
    
    但是您不能从退出代码中引发另一个异常(在yield之后)。可以查阅 [Dependencies with yield and HTTPException](https://fastapi.tiangolo.com/zh/tutorial/dependencies/dependencies-with-yield/#dependencies-with-yield-and-httpexception)
    
    ///
    
    *然后,当在路径操作函数*中使用依赖项时,我们使用`Session`,直接从 SQLAlchemy 导入的类型声明它。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. helm-releases/minio-3.5.0.tgz

    makeBucketJob: podAnnotations: annotations: securityContext: enabled: false runAsUser: 1000 runAsGroup: 1000 fsGroup: 1000 resources: requests: memory: 128Mi nodeSelector: {} tolerations: [] affinity: {} ## Use this field to add environment variables relevant to MinIO server. These fields will be passed on to MinIO container(s) ## when Chart is deployed environment: ## Please refer for comprehensive list https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html ## MINIO_SUBNET_LICENSE:...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 02 00:16:41 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  9. helm-releases/minio-3.5.1.tgz

    makeBucketJob: podAnnotations: annotations: securityContext: enabled: false runAsUser: 1000 runAsGroup: 1000 fsGroup: 1000 resources: requests: memory: 128Mi nodeSelector: {} tolerations: [] affinity: {} ## Use this field to add environment variables relevant to MinIO server. These fields will be passed on to MinIO container(s) ## when Chart is deployed environment: ## Please refer for comprehensive list https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html ## MINIO_SUBNET_LICENSE:...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 04 22:54:20 UTC 2022
    - 15.4K bytes
    - Viewed (0)
  10. helm-releases/minio-3.1.7.tgz

    makeBucketJob: podAnnotations: annotations: securityContext: enabled: false runAsUser: 1000 runAsGroup: 1000 fsGroup: 1000 resources: requests: memory: 128Mi nodeSelector: {} tolerations: [] affinity: {} ## Use this field to add environment variables relevant to MinIO server. These fields will be passed on to MinIO container(s) ## when Chart is deployed environment: ## Please refer for comprehensive list https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html ## MINIO_SUBNET_LICENSE:...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 03 22:23:22 UTC 2021
    - 14.6K bytes
    - Viewed (0)
Back to top