Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1831 - 1840 of 2,256 for interval (0.06 sec)

  1. docs/vi/docs/features.md

    Nếu bạn cần 2 phút để làm mới lại cách sử dụng các kiểu dữ liệu mới của Python (thậm chí nếu bạn không sử dụng FastAPI), xem hướng dẫn ngắn: [Kiểu dữ liệu Python](python-types.md){.internal-link target=_blank}.
    
    Bạn viết chuẩn Python với kiểu dữ liệu như sau:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. docs/zh/docs/features.md

    ### 更主流的 Python
    
    全部都基于标准的 **Python 3.6 类型**声明(感谢 Pydantic )。没有新的语法需要学习。只需要标准的 Python 。
    
    如果你需要2分钟来学习如何使用 Python 类型(即使你不使用 FastAPI ),看看这个简短的教程:[Python Types](python-types.md){.internal-link target=_blank}。
    
    编写带有类型标注的标准 Python:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. docs/zh/docs/python-types.md

    ```
    
    /// info
    
    想进一步了解 <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic,请阅读其文档</a>.
    
    ///
    
    整个 **FastAPI** 建立在 Pydantic 的基础之上。
    
    实际上你将在 [教程 - 用户指南](tutorial/index.md){.internal-link target=_blank} 看到很多这种情况。
    
    ## **FastAPI** 中的类型提示
    
    **FastAPI** 利用这些类型提示来做下面几件事。
    
    使用 **FastAPI** 时用类型提示声明参数可以获得:
    
    * **编辑器支持**。
    * **类型检查**。
    
    ...并且 **FastAPI** 还会用这些类型声明来:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. cmd/metacache-server-pool.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	pathutil "path"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/grid"
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    func renameAllBucketMetacache(epPath string) error {
    	// Rename all previous `.minio.sys/buckets/<bucketname>/.metacache` to
    	// to `.minio.sys/tmp/` for deletion.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       *
       * @throws IllegalStateException if the service is not {@link State#STARTING}.
       */
      protected final void notifyStarted() {
        monitor.enter();
        try {
          // We have to examine the internal state of the snapshot here to properly handle the stop
          // while starting case.
          if (snapshot.state != STARTING) {
            IllegalStateException failure =
                new IllegalStateException(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.eventspy.internal.EventSpyDispatcher;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.root.RootLocator;
    import org.apache.maven.project.DefaultProjectBuildingRequest;
    import org.apache.maven.project.ProjectBuildingRequest;
    import org.apache.maven.properties.internal.SystemProperties;
    import org.apache.maven.settings.Mirror;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import okhttp3.internal.authenticator.JavaNetAuthenticator
    
    /**
     * Performs either **preemptive** authentication before connecting to a proxy server, or
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

        }
    
        public MetadataResolutionResult setRepositories(final List<ArtifactRepository> repositories) {
            this.repositories = repositories;
    
            return this;
        }
    
        //
        // Internal
        //
    
        private <T> List<T> initList(final List<T> l) {
            if (l == null) {
                return new ArrayList<>();
            }
            return l;
        }
    
        public String toString() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

    import org.apache.maven.project.artifact.ProjectArtifact;
    import org.apache.maven.repository.RepositorySystem;
    
    /**
     * @deprecated As of 3.2.2, and there is no direct replacement. This is an internal class which was not marked as such,
     *             but should have been.
     *
     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultProjectDependenciesResolver implements ProjectDependenciesResolver {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import java.util.stream.Stream;
    
    import org.apache.maven.api.Lifecycle;
    import org.apache.maven.api.model.Plugin;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top