Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 688 for Floats (0.1 sec)

  1. docs_src/body_nested_models/tutorial009.py

    from typing import Dict
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.post("/index-weights/")
    async def create_index_weights(weights: Dict[int, float]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 179 bytes
    - Viewed (0)
  2. src/main/resources/fess_indices/fess_config.elevate_word/elevate_word.json

          "suggestWord": {
            "type": "keyword"
          },
          "reading": {
            "type": "keyword"
          },
          "permissions": {
            "type": "keyword"
          },
          "boost": {
            "type": "float"
          },
          "createdBy": {
            "type": "keyword"
          },
          "createdTime": {
            "type": "long"
          },
          "updatedBy": {
            "type": "keyword"
          },
          "updatedTime": {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 471 bytes
    - Viewed (0)
  3. tests/test_path.py

                        "msg": "value is not a valid float",
                        "type": "type_error.float",
                    }
                ]
            }
        )
    
    
    def test_path_float_42():
        response = client.get("/path/float/42")
        assert response.status_code == 200
        assert response.json() == 42
    
    
    def test_path_float_42_5():
        response = client.get("/path/float/42.5")
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  4. docs_src/extra_models/tutorial005.py

    from typing import Dict
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/keyword-weights/", response_model=Dict[str, float])
    async def read_keyword_weights():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 205 bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/common/admin/footer.jsp

    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
    <footer class="main-footer">
    	<div class="float-right d-none d-sm-inline-block"></div>
    	<la:message key="labels.footer.copyright" />
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 213 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java

        @Override
        protected String getQueryClassName() {
            return PrefixQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final PrefixQuery prefixQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. callbacks/helper_test.go

    			input: map[string]interface{}{
    				"age": 18,
    			},
    			expect: clause.Values{
    				Columns: []clause.Column{{Name: "age"}},
    				Values:  [][]interface{}{{18}},
    			},
    		},
    		{
    			name: "Test convert float value",
    			input: map[string]interface{}{
    				"score": 99.5,
    			},
    			expect: clause.Values{
    				Columns: []clause.Column{{Name: "score"}},
    				Values:  [][]interface{}{{99.5}},
    			},
    		},
    		{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 05 02:22:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/QueryProcessorTest.java

            final AtomicBoolean calledFirst = new AtomicBoolean(false);
            queryProcessor.addFilter(new QueryProcessor.Filter() {
                @Override
                public QueryBuilder execute(QueryContext context, Query query, float boost, FilterChain chain) {
                    calledFirst.set(true);
                    assertFalse(called.get());
                    QueryBuilder builder = chain.execute(context, query, boost);
                    assertTrue(called.get());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

                                || actual == Short.class
                                || actual == Byte.class)) {
                    return true;
                }
                if (formal == Float.TYPE
                        && (actual == Float.class
                                || actual == Long.class
                                || actual == Integer.class
                                || actual == Short.class
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body-nested-models.md

    * Conversão de dados
    * Validação de dados
    * Documentação automatica
    
    ## Tipos especiais e validação
    
    Além dos tipos singulares normais como `str`, `int`, `float`, etc. Você também pode usar tipos singulares mais complexos que herdam de `str`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top