Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 754 for about (0.04 sec)

  1. docs/en/docs/tutorial/security/simple-oauth2.md

    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="80-83"
    {!> ../../docs_src/security/tutorial003.py!}
    ```
    
    ////
    
    #### About `**user_dict`
    
    `UserInDB(**user_dict)` means:
    
    *Pass the keys and values of the `user_dict` directly as key-value arguments, equivalent to:*
    
    ```Python
    UserInDB(
        username = user_dict["username"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/storage/v1/generated.proto

    import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
    
    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/api/storage/v1";
    
    // CSIDriver captures information about a Container Storage Interface (CSI)
    // volume driver deployed on the cluster.
    // Kubernetes attach detach controller uses this object to determine whether attach is required.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

    ```
    git checkout -b my-new-feature
    ```
    
    ### Test MinIO server changes
    
    After your code changes, make sure
    
    - To add test cases for the new code. If you have questions about how to do it, please ask on our [Slack](https://slack.min.io) channel.
    - To run `make verifiers`
    - To squash your commits into a single commit. `git rebase -i`. It's okay to force update your pull request.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 05 18:35:53 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

    import java.util.List;
    
    import org.apache.commons.cli.Option;
    import org.junit.jupiter.api.Test;
    
    import static java.util.Objects.nonNull;
    
    /**
     * Pseudo test to generate documentation fragment about supported CLI options. TODO such documentation generation code
     * should not be necessary as unit test but should be run during site generation (Velocity? Doxia macro?)
     */
    class CLIManagerDocumentationTest {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/MethodMetaData.java

    import org.gradle.api.Action;
    
    import java.io.Serializable;
    import java.util.ArrayList;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Objects;
    
    /**
     * Static meta-data about a method extracted from the source for the class.
     */
    public class MethodMetaData extends AbstractLanguageElement implements Serializable, TypeContainer {
        private final String name;
        private final ClassMetaData ownerClass;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
      // +optional
      optional HorizontalPodAutoscalerSpec spec = 2;
    
      // status is the current information about the autoscaler.
      // +optional
      optional HorizontalPodAutoscalerStatus status = 3;
    }
    
    // HorizontalPodAutoscalerBehavior configures the scaling behavior of the target
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

    import org.codehaus.plexus.logging.AbstractLogEnabled;
    
    /**
     * Describes a version transformation during artifact resolution.
     *
     * TODO try and refactor to remove abstract methods - not particular happy about current design
     */
    @Deprecated
    public abstract class AbstractVersionTransformation extends AbstractLogEnabled implements ArtifactTransformation {
        @Inject
        protected RepositoryMetadataManager repositoryMetadataManager;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. docs_src/security/tutorial005.py

    class UserInDB(User):
        hashed_password: str
    
    
    pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
    
    oauth2_scheme = OAuth2PasswordBearer(
        tokenUrl="token",
        scopes={"me": "Read information about the current user.", "items": "Read items."},
    )
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return pwd_context.verify(plain_password, hashed_password)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. docs_src/security/tutorial005_an.py

    class UserInDB(User):
        hashed_password: str
    
    
    pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
    
    oauth2_scheme = OAuth2PasswordBearer(
        tokenUrl="token",
        scopes={"me": "Read information about the current user.", "items": "Read items."},
    )
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return pwd_context.verify(plain_password, hashed_password)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. cmd/server-rlimit.go

    		// Could not probe the kernel version
    		return false
    	}
    
    	if currentKernel == 0 {
    		// We could not get any valid value return false
    		return false
    	}
    
    	// legacy linux indicator for printing warnings
    	// about older Linux kernels and Go runtime.
    	return currentKernel < kernel.Version(4, 0, 0)
    }
    
    func setMaxResources(ctx serverCtxt) (err error) {
    	// Set the Go runtime max threads threshold to 90% of kernel setting.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:09:36 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top