Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 859 for floats (0.33 sec)

  1. docs/ru/docs/tutorial/body-nested-models.md

    * Преобразование данных
    * Валидацию данных
    * Автоматическую документацию
    
    ## Особые типы и валидация
    
    Помимо обычных простых типов, таких как `str`, `int`, `float`, и т.д. Вы можете использовать более сложные базовые типы, которые наследуются от типа `str`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/body-nested-models.md

            "name": "The Foo live"
        }
    }
    ```
    
    다시 한번, **FastAPI**를 사용하여 해당 선언을 함으로써 얻는 것은:
    
    * 중첩 모델도 편집기 지원(자동완성 등)
    * 데이터 변환
    * 데이터 검증
    * 자동 문서화
    
    ## 특별한 타입과 검증
    
    `str`, `int`, `float` 등과 같은 단일 타입과는 별개로, `str`을 상속하는 더 복잡한 단일 타입을 사용할 수 있습니다.
    
    모든 옵션을 보려면, <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">Pydantic's exotic types</a> 문서를 확인하세요. 다음 장에서 몇가지 예제를 볼 수 있습니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-nested-models.md

    * Editor support (completion, etc.), even for nested models
    * Data conversion
    * Data validation
    * Automatic documentation
    
    ## Special types and validation
    
    Apart from normal singular types like `str`, `int`, `float`, etc. you can use more complex singular types that inherit from `str`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. cmd/batch-replicate_gen.go

    					err = z.Flags.Filter.DecodeMsg(dc)
    					if err != nil {
    						err = msgp.WrapError(err, "Flags", "Filter")
    						return
    					}
    				case "Notify":
    					err = z.Flags.Notify.DecodeMsg(dc)
    					if err != nil {
    						err = msgp.WrapError(err, "Flags", "Notify")
    						return
    					}
    				case "Retry":
    					err = z.Flags.Retry.DecodeMsg(dc)
    					if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  5. internal/dsync/utils.go

    	}
    	return func(r *rand.Rand, attempt uint) time.Duration {
    		sleep := min
    		sleep += unit * time.Duration(attempt)
    		if sleep > cap {
    			sleep = cap
    		}
    		sleep -= time.Duration(r.Float64() * float64(sleep))
    		return sleep
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 13 15:42:21 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/ByteArrayDataOutput.java

      @Override
      void writeShort(int v);
    
      @Override
      void writeChar(int v);
    
      @Override
      void writeInt(int v);
    
      @Override
      void writeLong(long v);
    
      @Override
      void writeFloat(float v);
    
      @Override
      void writeDouble(double v);
    
      @Override
      void writeChars(String s);
    
      @Override
      void writeUTF(String s);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/FloatConversionUtilTest.java

    /**
     * @author higa
     *
     */
    public class FloatConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToFloat() throws Exception {
            assertEquals(new Float("1000.5"), FloatConversionUtil.toFloat("1,000.5"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveFloat() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java

        public SuggestRequestBuilder setSuggestDetail(final boolean suggestDetail) {
            request.setSuggestDetail(suggestDetail);
            return this;
        }
    
        public SuggestRequestBuilder setPrefixMatchWeight(final float prefixMatchWeight) {
            request.setPrefixMatchWeight(prefixMatchWeight);
            return this;
        }
    
        public SuggestRequestBuilder setMatchWordFirst(final boolean matchWordFirst) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/NtlmMessage.java

        private int flags;
    
    
        /**
         * Returns the flags currently in use for this message.
         *
         * @return An <code>int</code> containing the flags in use for this
         *         message.
         */
        public int getFlags () {
            return this.flags;
        }
    
    
        /**
         * Sets the flags for this message.
         *
         * @param flags
         *            The flags for this message.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  10. tests/test_serialize_response.py

    from typing import List, Optional
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "price": 1.0}
    
    
    @app.get("/items/coerce", response_model=Item)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 03 12:29:07 UTC 2020
    - 1.4K bytes
    - Viewed (0)
Back to top