Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 1,078 for Scheme (0.08 sec)

  1. docs_src/security/tutorial004_an_py310.py

        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/scheduling/v1/generated.proto

    import "k8s.io/api/core/v1/generated.proto";
    import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto";
    import "k8s.io/apimachinery/pkg/runtime/generated.proto";
    import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
    
    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/api/scheduling/v1";
    
    // PriorityClass defines mapping from a priority class name to the priority
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/searchlist/EditForm.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.searchlist;
    
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    /**
     * @author shinsuke
     */
    public class EditForm extends CreateForm {
    
        public String id;
    
        @ValidateTypeFailure
        public Long seqNo;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 950 bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/response-model.md

    ///
    
    它接收的类型与你将为 Pydantic 模型属性所声明的类型相同,因此它可以是一个 Pydantic 模型,但也可以是一个由 Pydantic 模型组成的 `list`,例如 `List[Item]`。
    
    FastAPI 将使用此 `response_model` 来:
    
    * 将输出数据转换为其声明的类型。
    * 校验数据。
    * 在 OpenAPI 的*路径操作*中为响应添加一个 JSON Schema。
    * 并在自动生成文档系统中使用。
    
    但最重要的是:
    
    * 会将输出数据限制在该模型定义内。下面我们会看到这一点有多重要。
    
    /// note | "技术细节"
    
    响应模型在参数中被声明,而不是作为函数返回类型的注解,这是因为路径函数可能不会真正返回该响应模型,而是返回一个 `dict`、数据库对象或其他模型,然后再使用 `response_model` 来执行字段约束和序列化。
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/body.md

        * Da Sie diesen in der Funktion als vom Typ `Item` deklariert haben, erhalten Sie die ganze Editor-Unterstützung (Autovervollständigung, usw.) für alle Attribute und deren Typen.
    * Eine <a href="https://json-schema.org" class="external-link" target="_blank">JSON Schema</a> Definition für Ihr Modell generieren, welche Sie überall sonst verwenden können, wenn es für Ihr Projekt Sinn macht.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/body.md

    * 以 JSON 形式读取请求体
    * (在必要时)把请求体转换为对应的类型
    * 校验数据:
        * 数据无效时返回错误信息,并指出错误数据的确切位置和内容
    * 把接收的数据赋值给参数 `item`
        * 把函数中请求体参数的类型声明为 `Item`,还能获得代码补全等编辑器支持
    * 为模型生成 <a href="https://json-schema.org" class="external-link" target="_blank">JSON Schema</a>,在项目中所需的位置使用
    * 这些概图是 OpenAPI 概图的部件,用于 API 文档 <abbr title="用户界面">UI</abbr>
    
    ## API 文档
    
    Pydantic 模型的 JSON 概图是 OpenAPI 生成的概图部件,可在 API 文档中显示:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/failureurl/EditForm.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.failureurl;
    
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * @author codelibs
     * @author Keiichi Watanabe
     */
    public class EditForm {
    
        public String webConfigName;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/CreateForm.java

    package org.codelibs.fess.app.web.admin.relatedcontent;
    
    import org.codelibs.fess.app.web.CrudMode;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Max;
    import jakarta.validation.constraints.Min;
    import jakarta.validation.constraints.Size;
    
    public class CreateForm {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/EditForm.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.dict.synonym;
    
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    /**
     * @author shinsuke
     * @author Keiichi Watanabe
     */
    public class EditForm extends CreateForm {
    
        @Required
        @ValidateTypeFailure
        public Long id;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/EditForm.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.dict.mapping;
    
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    /**
     * @author nullpos
     */
    public class EditForm extends CreateForm {
    
        @Required
        @ValidateTypeFailure
        public Long id;
    
        public String getDisplayId() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1007 bytes
    - Viewed (0)
Back to top