Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 188 for aiofiles (0.25 sec)

  1. docs/zh/docs/advanced/templates.md

    ## 安装依赖项
    
    安装 `jinja2`:
    
    <div class="termy">
    
    ```console
    $ pip install jinja2
    
    ---> 100%
    ```
    
    </div>
    
    如需使用静态文件,还要安装 `aiofiles`:
    
    <div class="termy">
    
    ```console
    $ pip install aiofiles
    
    ---> 100%
    ```
    
    </div>
    
    ## 使用 `Jinja2Templates`
    
    * 导入 `Jinja2Templates`
    * 创建可复用的 `templates` 对象
    * 在返回模板的*路径操作*中声明 `Request` 参数
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:45:16 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/extending-openapi.md

    │   ├── __init__.py
    │   ├── main.py
    └── static
        ├── redoc.standalone.js
        ├── swagger-ui-bundle.js
        └── swagger-ui.css
    ```
    
    ### 安装 `aiofiles`
    
    现在,安装 `aiofiles`:
    
    
    <div class="termy">
    
    ```console
    $ pip install aiofiles
    
    ---> 100%
    ```
    
    </div>
    
    ### 静态文件服务
    
    * 导入 `StaticFiles`
    * 在指定路径下**挂载** `StaticFiles()` 实例
    
    ```Python hl_lines="7  11"
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:46:12 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. .idea/copyright/profiles_settings.xml

    Zalim Bashorov <******@****.***> 1520884151 +0300
    XML
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Wed Mar 14 12:04:57 GMT 2018
    - 723 bytes
    - Viewed (0)
  4. .idea/inspectionProfiles/profiles_settings.xml

    Yan Zhulanow <******@****.***> 1560414927 +0900
    XML
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Jun 13 08:35:27 GMT 2019
    - 177 bytes
    - Viewed (0)
  5. .idea/inspectionProfiles/profiles_settings.xml

    Marc Philipp <******@****.***> 1536852064 +0200
    XML
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Sep 13 15:24:58 GMT 2018
    - 172 bytes
    - Viewed (0)
  6. maven-core/src/test/resources-project-builder/plugin-interpolation-build/pom.xml

      </properties>
    
      <build>
        <plugins>
          <plugin>
            <artifactId>plugin-all-profiles</artifactId>
            <executions>
              <execution>
                <id>Outside ||${project.basedir}||</id>
                <configuration>
                  <plugin-all-profiles-out>Outside ||${project.basedir}||</plugin-all-profiles-out>
                </configuration>
              </execution>
            </executions>
          </plugin>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 12 10:26:40 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            if (!errors.isEmpty()) {
                throw errors.get(0);
            }
    
            return profiles;
        }
    
        /* (non-Javadoc)
         * @see org.apache.maven.profiles.ProfileManager#addProfiles(java.util.List)
         */
        public void addProfiles(List<Profile> profiles) {
            for (Profile profile1 : profiles) {
                addProfile(profile1);
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileSelector.java

    /**
     * Calculates the active profiles among a given collection of profiles.
     *
     */
    public interface ProfileSelector {
    
        /**
         * Determines the profiles which are active in the specified activation context. Active profiles will eventually be
         * injected into the model.
         *
         * @param profiles The profiles whose activation status should be determined, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

        private ProfilesConversionUtils() {}
    
        public static Profile convertFromProfileXmlProfile(org.apache.maven.profiles.Profile profileXmlProfile) {
            Profile profile = new Profile();
    
            profile.setId(profileXmlProfile.getId());
    
            profile.setSource("profiles.xml");
    
            org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation();
    
            if (profileActivation != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  10. operator/cmd/mesh/profile-diff.go

    		Use:   "diff <profile|file1.yaml> <profile|file2.yaml>",
    		Short: "Diffs two Istio configuration profiles",
    		Long:  "The diff subcommand displays the differences between two Istio configuration profiles.",
    		Example: `  # Profile diff by providing yaml files
      istioctl profile diff manifests/profiles/default.yaml manifests/profiles/demo.yaml
    
      # Profile diff by providing a profile name
      istioctl profile diff default demo`,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top