Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 134 for converters (0.03 sec)

  1. docs/es/docs/advanced/response-change-status-code.md

    Pero si los datos no existieran, quieres crearlos y devolver un código de estado HTTP de "CREATED" `201`.
    
    Pero todavía quieres poder filtrar y convertir los datos que devuelves con un `response_model`.
    
    Para esos casos, puedes usar un parámetro `Response`.
    
    ## Usa un parámetro `Response`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterChainTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.converter;
    
    import junit.framework.TestCase;
    
    public class ReadingConverterChainTest extends TestCase {
        public void test_convert() throws Exception {
            /*
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  3. ci/official/utilities/convert_msys_paths_to_win_paths.py

        # with forward slashes, e.g. 'C:/Program Files', instead of
        # '/c/Program Files', thus becoming converted simply by virtue of having
        # been read.
        converted_vars[var] = value
    
      var_str = '\n'.join(f'{k}="{v}"'
                          for k, v in converted_vars.items())
      # The string can then be piped into `source`, to re-set the
      # 'converted' variables.
      print(var_str)
    
    
    if __name__ == '__main__':
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Aug 07 23:01:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/body-nested-models.md

    You couldn't get this kind of editor support if you were working directly with `dict` instead of Pydantic models.
    
    But you don't have to worry about them either, incoming dicts are converted automatically and your output is converted automatically to JSON too.
    
    ## Bodies of arbitrary `dict`s { #bodies-of-arbitrary-dicts }
    
    You can also declare a body as a `dict` with keys of some type and values of some other type.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/header-params.md

    La mayoría de los headers estándar están separados por un carácter "guion", también conocido como el "símbolo menos" (`-`).
    
    Pero una variable como `user-agent` es inválida en Python.
    
    Así que, por defecto, `Header` convertirá los caracteres de los nombres de los parámetros de guion bajo (`_`) a guion (`-`) para extraer y documentar los headers.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/Suggester.java

        protected final Client client;
        /** The suggest settings. */
        protected final SuggestSettings suggestSettings;
        /** The reading converter. */
        protected final ReadingConverter readingConverter;
        /** The contents reading converter. */
        protected final ReadingConverter contentsReadingConverter;
        /** The normalizer. */
        protected final Normalizer normalizer;
        /** The analyzer. */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  7. docs/en/docs/advanced/response-directly.md

    For example, you cannot put a Pydantic model in a `JSONResponse` without first converting it to a `dict` with all the data types (like `datetime`, `UUID`, etc) converted to JSON-compatible types.
    
    For those cases, you can use the `jsonable_encoder` to convert your data before passing it to a response:
    
    {* ../../docs_src/response_directly/tutorial001.py hl[6:7,21:22] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/response-cookies.md

    Em seguida, você pode retornar qualquer objeto que precise, como normalmente faria (um `dict`, um modelo de banco de dados, etc).
    
    E se você declarou um `response_model`, ele ainda será usado para filtrar e converter o objeto que você retornou.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/response-headers.md

    Em seguida você pode retornar qualquer objeto que precisar, da maneira que faria normalmente (um `dict`, um modelo de banco de dados, etc.).
    
    Se você declarou um `response_model`, ele ainda será utilizado para filtrar e converter o objeto que você retornou.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/header-params.md

    A maioria dos cabeçalhos padrão são separados pelo caractere "hífen", também conhecido como "sinal de menos" (`-`).
    
    Mas uma variável como `user-agent` é inválida em Python.
    
    Portanto, por padrão, `Header` converterá os caracteres de nomes de parâmetros de sublinhado (`_`) para hífen (`-`) para extrair e documentar os cabeçalhos.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top