Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for kwargs (0.08 sec)

  1. fastapi/param_functions.py

            Any,
            Doc(
                """
                Include extra fields used by the JSON Schema.
                """
            ),
            deprecated(
                """
                The `extra` kwargs is deprecated. Use `json_schema_extra` instead.
                """
            ),
        ],
    ) -> Any:
        """
        Declare a path parameter for a *path operation*.
    
        Read more about it in the
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/path-params-numeric-validations.md

    Python ne fera rien avec ce `*`, mais il saura que tous les paramètres suivants doivent être appelés comme arguments "mots-clés" (paires clé-valeur), également connus sous le nom de <abbr title="De : K-ey W-ord Arg-uments"><code>kwargs</code></abbr>. Même s'ils n'ont pas de valeur par défaut.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial003.py hl[7] *}
    
    # Avec `Annotated`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:32:37 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. istioctl/pkg/proxyconfig/proxyconfig.go

    `,
    		Aliases: []string{"clusters", "c"},
    		Args: func(cmd *cobra.Command, args []string) error {
    			if (len(args) == 1) != (configDumpFile == "") {
    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("cluster requires pod name or --file parameter")
    			}
    			return nil
    		},
    		RunE: func(c *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClient()
    			if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  4. Makefile

    clean: ## cleanup all generated assets
    	@echo "Cleaning up all the generated files"
    	@find . -name '*.test' | xargs rm -fv
    	@find . -name '*~' | xargs rm -fv
    	@find . -name '.#*#' | xargs rm -fv
    	@find . -name '#*#' | xargs rm -fv
    	@rm -rvf minio
    	@rm -rvf build
    	@rm -rvf release
    	@rm -rvf .verify*
    	@rm -rvf minio-release
    	@rm -rvf minio.RELEASE*.hotfix.*
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/CleanArgumentTest.java

        @Test
        void cleanArgs() {
            String[] args = {
                "\"",
            };
            CleanArgument.cleanArgs(args);
        }
    
        @Test
        void cleanArgsShouldRemoveWrongSurroundingQuotes() {
            String[] args = {"\"-Dfoo=bar", "\"-Dfoo2=bar two\""};
            String[] cleanArgs = CleanArgument.cleanArgs(args);
            assertEquals(args.length, cleanArgs.length);
            assertEquals("-Dfoo=bar", cleanArgs[0]);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java

    public class CleanArgument {
        public static String[] cleanArgs(String[] args) {
            try {
                return doCleanArgs(args);
            } catch (RuntimeException e) {
                for (String a : args) {
                    System.out.println("Arg: '" + a + "'");
                }
                throw e;
            }
        }
    
        private static String[] doCleanArgs(String[] args) {
            List<String> cleaned = new ArrayList<>();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/BaseMavenParser.java

        }
    
        protected O parseMavenCliOptions(List<String> args) throws ParserException {
            return parseArgs(Options.SOURCE_CLI, args);
        }
    
        protected O parseMavenConfigOptions(Path configFile) throws ParserException, IOException {
            try (Stream<String> lines = Files.lines(configFile, Charset.defaultCharset())) {
                List<String> args =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java

         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenEncCling().run(args);
            System.exit(exitCode);
        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
        public static int main(String[] args, ClassWorld world) throws IOException {
            return new MavenEncCling(world).run(args);
        }
    
        public MavenEncCling() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java

        Properties systemProperties = new Properties();
    
        MavenExecutionRequest request;
    
        CliRequest(String[] args, ClassWorld classWorld) {
            this.args = args;
            this.classWorld = classWorld;
            this.request = new DefaultMavenExecutionRequest();
        }
    
        public String[] getArgs() {
            return args;
        }
    
        public CommandLine getCommandLine() {
            return commandLine;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java

         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenCling().run(args);
            System.exit(exitCode);
        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
        public static int main(String[] args, ClassWorld world) throws IOException {
            return new MavenCling(world).run(args);
        }
    
        public MavenCling() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top