Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for atributos (0.07 sec)

  1. docs/es/docs/tutorial/path-params.md

    Importa `Enum` y crea una subclase que herede de `str` y de `Enum`.
    
    Al heredar de `str`, la documentación de la API podrá saber que los valores deben ser de tipo `string` y podrá representarlos correctamente.
    
    Luego crea atributos de clase con valores fijos, que serán los valores válidos disponibles:
    
    {* ../../docs_src/path_params/tutorial005.py hl[1,6:9] *}
    
    /// info | Información
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. docs/es/docs/index.md

    * Para requests `PUT` a `/items/{item_id}`, leerá el body como JSON:
        * Comprobará que tiene un atributo requerido `name` que debe ser un `str`.
        * Comprobará que tiene un atributo requerido `price` que debe ser un `float`.
        * Comprobará que tiene un atributo opcional `is_offer`, que debe ser un `bool`, si está presente.
        * Todo esto también funcionaría para objetos JSON profundamente anidados.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. docs/pt/docs/index.md

    * Para requisições `PUT` para `/items/{item_id}`, lerá o corpo como JSON e:
        * Verifica que tem um atributo obrigatório `name` que deve ser `str`.
        * Verifica que tem um atributo obrigatório `price` que deve ser `float`.
        * Verifica que tem an atributo opcional `is_offer`, que deve ser `bool`, se presente.
        * Tudo isso também funciona para objetos JSON profundamente aninhados.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

                this.attributes = attributes;
                this.creationTime = creationTime;
                this.lastAccessTime = lastAccessTime;
            }
    
            /**
             * Check if this file info matches the given attributes
             *
             * @param otherSize size to compare
             * @param otherLastModified last modified time to compare
             * @param otherAttributes attributes to compare
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

         */
        public int getAttributes() throws SmbException {
            if (getUncPath0().length() == 1) {
                return 0;
            }
            exists();
            return attributes & ATTR_GET_MASK;
        }
    
        /**
         * Set the attributes of this file. Attributes are composed into a
         * bitset by bitwise ORing the {@code ATTR_*} constants. Setting the
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            long lastModified = System.currentTimeMillis();
            boolean isDirectory = false;
            long attributes = 0x20; // FILE_ATTRIBUTE_ARCHIVE
            long creationTime = System.currentTimeMillis() - 10000;
            long lastAccessTime = System.currentTimeMillis() - 5000;
    
            entry.updateChild(childName, size, lastModified, isDirectory, attributes, creationTime, lastAccessTime);
    
            assertTrue(entry.hasChild(childName));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/body-fields.md

    
    /// warning
    
    Notice that `Field` is imported directly from `pydantic`, not from `fastapi` as are all the rest (`Query`, `Path`, `Body`, etc).
    
    ///
    
    ## Declare model attributes { #declare-model-attributes }
    
    You can then use `Field` with model attributes:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}
    
    `Field` works the same way as `Query`, `Path` and `Body`, it has all the same parameters, etc.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. docs/en/docs/js/termynal.js

                return div.firstElementChild;
            });
        }
    
        /**
         * Helper function for generating attributes string.
         *
         * @param {Object} line - Line data object.
         * @returns {string} - String of attributes.
         */
        _attributes(line) {
            let attrs = '';
            for (let prop in line) {
                // Custom add class
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:32:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/body.md

    ## Create your data model { #create-your-data-model }
    
    Then you declare your data model as a class that inherits from `BaseModel`.
    
    Use standard Python types for all the attributes:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *}
    
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:58:56 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

        /**
         * Mask for attributes that can be retrieved from the server
         */
        protected static final int ATTR_GET_MASK = 0x7FFF;
        /**
         * Mask for attributes that can be set on the server
         */
        protected static final int ATTR_SET_MASK = 0x30A7;
        /**
         * Default expiration period for cached attributes in milliseconds
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top