Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 1,467 for dist (0.04 sec)

  1. docs_src/security/tutorial005_an.py

    from datetime import datetime, timedelta, timezone
    from typing import List, Union
    
    import jwt
    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jwt.exceptions import InvalidTokenError
    from passlib.context import CryptContext
    from pydantic import BaseModel, ValidationError
    from typing_extensions import Annotated
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/templates.md

    ```
    
    ### Template-Kontextwerte
    
    Im HTML, welches enthält:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ... wird die `id` angezeigt, welche dem „Kontext“-`dict` entnommen wird, welches Sie übergeben haben:
    
    ```Python
    {"id": id}
    ```
    
    Mit beispielsweise einer ID `42` würde das wie folgt gerendert werden:
    
    ```html
    Item ID: 42
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                Map<String, Artifact> managedVersions,
                ArtifactRepository localRepository,
                List<ArtifactRepository> remoteRepositories,
                ArtifactMetadataSource source,
                ArtifactFilter filter,
                List<ResolutionListener> listeners,
                List<ConflictResolver> conflictResolvers)
                throws ArtifactResolutionException, ArtifactNotFoundException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/sql-databases.md

    在这里,我们只关注数据库的工具和机制。
    
    ///
    
    /// tip
    
    这里不是将每个关键字参数传递给Item并从Pydantic模型中读取每个参数,而是先生成一个字典,其中包含Pydantic模型的数据:
    
    `item.dict()`
    
    然后我们将dict的键值对 作为关键字参数传递给 SQLAlchemy `Item`:
    
    `Item(**item.dict())`
    
    然后我们传递 Pydantic模型未提供的额外关键字参数`owner_id`:
    
    `Item(**item.dict(), owner_id=user_id)`
    
    ///
    
    ## 主**FastAPI**应用程序
    
    现在在`sql_app/main.py`文件中 让我们集成和使用我们之前创建的所有其他部分。
    
    ### 创建数据库表
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. cmd/mrf.go

    		rc, err := localDrive.ReadFileStream(context.Background(), minioMetaBucket, pathJoin(healMRFDir, "list.bin"), 0, -1)
    		if err != nil {
    			continue
    		}
    		err = loadMRF(rc, m.opCh)
    		if err != nil {
    			continue
    		}
    		// finally delete the file after processing mrf entries
    		localDrive.Delete(GlobalContext, minioMetaBucket, pathJoin(healMRFDir, "list.bin"), DeleteOptions{})
    		break
    	}
    
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. cmd/object-api-datatypes.go

    	NextVersionIDMarker string
    
    	// List of objects info for this request.
    	Objects []ObjectInfo
    
    	// List of prefixes for this request.
    	Prefixes []string
    }
    
    // ListObjectsInfo - container for list objects.
    type ListObjectsInfo struct {
    	// Indicates whether the returned list objects response is truncated. A
    	// value of true indicates that the list was truncated. The list can be truncated
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DosError.java

            "The process cannot access the file because it is being used by another process.",
            "The process cannot access the file because another process has locked a portion of the file.", "The disk is full.",
            "A duplicate name exists on the network.", "The network name cannot be found.", "ERRnomoreconn.", "The file exists.",
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/DosError.java

            "The process cannot access the file because it is being used by another process.",
            "The process cannot access the file because another process has locked a portion of the file.",
            "The disk is full.",
            "A duplicate name exists on the network.",
            "The network name cannot be found.",
            "ERRnomoreconn.",
            "The file exists.",
            "The parameter is incorrect.",
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.5K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    
    import org.apache.commons.fileupload.FileItem;
    import org.apache.commons.fileupload.FileUploadException;
    import org.apache.commons.fileupload.disk.DiskFileItemFactory;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. 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)
Back to top