Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 301 for Models (0.07 sec)

  1. docs/es/docs/python-types.md

    <img src="/img/python-types/image06.png">
    
    Nota que esto significa "`one_person` es una **instance** de la clase `Person`".
    
    No significa "`one_person` es la **clase** llamada `Person`".
    
    ## Modelos Pydantic { #pydantic-models }
    
    <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> es un paquete de Python para realizar la validación de datos.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.4K bytes
    - Viewed (1)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

     * <ol>
     * <li>success - in which case only the model field is set
     * <li>success with warnings - model field + non-error model problems
     * <li>error - no model, but diagnostics
     * <li>error - (partial) model and diagnostics
     * </ol>
     * Could encode these variants as subclasses, but kept in one for now
     *
     * @param <T> the model type
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/model/PropertiesTest.java

                // Create model and set properties
                Model model = new Model();
                Properties props = model.getProperties();
    
                // Create properties and populate from map to maintain order
                orderedMap.forEach(props::setProperty);
    
                // Get the immutable delegate (v4 API model is already immutable)
                org.apache.maven.api.model.Model immutable = model.getDelegate();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 12 07:26:53 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. fastapi/security/api_key.py

    from typing import Annotated, Optional, Union
    
    from annotated_doc import Doc
    from fastapi.openapi.models import APIKey, APIKeyIn
    from fastapi.security.base import SecurityBase
    from starlette.exceptions import HTTPException
    from starlette.requests import Request
    from starlette.status import HTTP_401_UNAUTHORIZED
    
    
    class APIKeyBase(SecurityBase):
        def __init__(
            self,
            location: APIKeyIn,
            name: str,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 9.6K bytes
    - Viewed (1)
  5. tests/query_test.go

    				})
    			}
    		}
    	})
    
    	var models []User
    	if err := DB.Where("name in (?)", []string{"find"}).Find(&models).Error; err != nil || len(models) != 3 {
    		t.Errorf("errors happened when query find with in clause: %v, length: %v", err, len(models))
    	} else {
    		for idx, user := range users {
    			t.Run("FindWithInClause#"+strconv.Itoa(idx+1), func(t *testing.T) {
    				CheckUser(t, models[idx], user)
    			})
    		}
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py39.py hl[8] *}
    
    You can return a `dict`, `list`, singular values as `str`, `int`, etc.
    
    You can also return Pydantic models (you'll see more about that later).
    
    There are many other objects and models that will be automatically converted to JSON (including ORMs, etc). Try using your favorite ones, it's highly probable that they are already supported.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            model = builder.build();
            String modelVersion = new MavenModelVersion().getModelVersion(model);
            if (!ModelBuilder.MODEL_VERSION_4_0_0.equals(modelVersion) && !preserveModelVersion) {
                warnNotDowngraded(project);
            }
            model = model.withModelVersion(modelVersion);
            return model;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. docs/fr/docs/tutorial/first-steps.md

    Vous pouvez retourner un dictionnaire (`dict`), une liste (`list`), des valeurs seules comme des chaines de caractères (`str`) et des entiers (`int`), etc.
    
    Vous pouvez aussi retourner des models **Pydantic** (qui seront détaillés plus tard).
    
    Il y a de nombreux autres objets et modèles qui seront automatiquement convertis en JSON. Essayez d'utiliser vos favoris, il est fort probable qu'ils soient déjà supportés.
    
    ## Récapitulatif
    
    * Importez `FastAPI`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. docs/uk/docs/tutorial/handling-errors.md

    /// warning | Увага
    
    Це технічні деталі, які Ви можете пропустити, якщо вони зараз не важливі для Вас.
    
    ///
    
    `RequestValidationError` є підкласом Pydantic <a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

    import org.apache.maven.model.Parent;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginExecution;
    import org.apache.maven.model.PluginManagement;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.ReportPlugin;
    import org.apache.maven.model.Reporting;
    import org.apache.maven.model.Repository;
    import org.apache.maven.model.Resource;
    import org.apache.maven.model.building.ModelBuildingRequest;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 03 15:06:05 UTC 2025
    - 66.8K bytes
    - Viewed (0)
Back to top