Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 641 for dict (0.02 sec)

  1. docs/ru/docs/tutorial/encoder.md

    Точно так же эта база данных не может принять Pydantic-модель (объект с атрибутами), а только `dict`.
    
    Для этого можно использовать функцию `jsonable_encoder`.
    
    Она принимает объект, например, Pydantic-модель, и возвращает его версию, совместимую с JSON:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    В данном примере она преобразует Pydantic-модель в `dict`, а `datetime` - в `str`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/schema-extra-example.md

    * `Body()`
    * `Form()`
    * `File()`
    
    Las claves del `dict` identifican cada ejemplo, y cada valor es otro `dict`.
    
    Cada `dict` específico del ejemplo en los `examples` puede contener:
    
    * `summary`: Descripción corta del ejemplo.
    * `description`: Una descripción larga que puede contener texto Markdown.
    * `value`: Este es el ejemplo real mostrado, e.g. un `dict`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. misc/ios/go_ios_exec.go

    			<integer>10</integer>
    		</dict>
    		<key>ResourceRules.plist</key>
    		<dict>
    			<key>omit</key>
    			<true/>
    			<key>weight</key>
    			<integer>100</integer>
    		</dict>
    	</dict>
    </dict>
    </plist>
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Sep 16 00:34:45 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. scripts/contributors.py

            translators=translators,
            authors=authors,
        )
    
    
    def get_users_to_write(
        *,
        counter: Counter[str],
        authors: dict[str, Author],
        min_count: int = 2,
    ) -> dict[str, Any]:
        users: dict[str, Any] = {}
        for user, count in counter.most_common():
            if count >= min_count:
                author = authors[user]
                users[user] = {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/AdminDictAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.admin.dict;
    
    import org.codelibs.fess.annotation.Secured;
    import org.codelibs.fess.app.web.base.FessAdminAction;
    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.dict.DictionaryItem;
    import org.codelibs.fess.dict.DictionaryManager;
    import org.codelibs.fess.util.RenderDataUtil;
    import org.lastaflute.web.Execute;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/encoder.md

    Puedes usar `jsonable_encoder` para eso.
    
    Recibe un objeto, como un modelo de Pydantic, y devuelve una versión compatible con JSON:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    En este ejemplo, convertiría el modelo de Pydantic a un `dict`, y el `datetime` a un `str`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/encoder.md

    Sie können für diese Fälle `jsonable_encoder` verwenden.
    
    Es nimmt ein Objekt entgegen, wie etwa ein Pydantic-Modell, und gibt eine JSON-kompatible Version zurück:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    In diesem Beispiel wird das Pydantic-Modell in ein `dict`, und das `datetime`-Objekt in ein `str` konvertiert.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. docs/uk/docs/tutorial/body-updates.md

    /// info | Інформація
    
    У Pydantic v1 цей метод називався `.dict()`, він був застарілий (але все ще підтримується) у Pydantic v2, і був перейменований у `.model_dump()`.
    
    Приклади тут використовують `.dict()` для сумісності з Pydantic v1, але Вам слід використовувати `.model_dump()`, якщо можете використовувати Pydantic v2.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Jun 30 06:00:04 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsCreator.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.dict.stopwords;
    
    import java.util.Date;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.dict.DictionaryCreator;
    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.dict.DictionaryItem;
    
    import jakarta.annotation.PostConstruct;
    
    /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/body-nested-models.md

    Pero tampoco tienes que preocuparte por ellos, los `dicts` entrantes se convierten automáticamente y tu salida se convierte automáticamente a JSON también.
    
    ## Cuerpos de `dict`s arbitrarios { #bodies-of-arbitrary-dicts }
    
    También puedes declarar un cuerpo como un `dict` con claves de algún tipo y valores de algún otro tipo.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top