Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for path_convertor (0.15 sec)

  1. tests/test_starlette_urlconvertors.py

        return {"int": param}
    
    
    @app.get("/float/{param:float}")
    def float_convertor(param: float = Path()):
        return {"float": param}
    
    
    @app.get("/path/{param:path}")
    def path_convertor(param: str = Path()):
        return {"path": param}
    
    
    @app.get("/query/")
    def query_convertor(param: str = Query()):
        return {"query": param}
    
    
    client = TestClient(app)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 27 14:46:06 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConverterLookup.java

    class EnhancedConverterLookup implements ConverterLookup {
        private final ConverterLookup delegate = new DefaultConverterLookup();
    
        EnhancedConverterLookup() {
            registerConverter(new DefaultBeanConfigurator.PathConverter());
            registerConverter(new DefaultBeanConfigurator.XmlConverter());
        }
    
        @Override
        public void registerConverter(ConfigurationConverter converter) {
            delegate.registerConverter(converter);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

                Object value = evaluator.evaluate(config.getValue());
                return new XmlNodeImpl(name, value != null ? value.toString() : null, null, children, null);
            }
        }
    
        static class PathConverter extends AbstractBasicConverter {
            @Override
            public boolean canConvert(Class<?> type) {
                return Path.class.equals(type);
            }
    
            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top