Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 511 - 520 of 733 for ModelC (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh-hant/docs/advanced/settings.md

    ```console
    $ pip install "fastapi[all]"
    ---> 100%
    ```
    
    </div>
    
    ### 建立 `Settings` 物件 { #create-the-settings-object }
    
    從 Pydantic 匯入 `BaseSettings` 並建立子類別,與建立 Pydantic model 的方式非常類似。
    
    就像使用 Pydantic model 一樣,你用型別註解宣告類別屬性,並可選擇性地提供預設值。
    
    你可以使用與 Pydantic model 相同的所有驗證功能與工具,例如不同的資料型別與透過 `Field()` 進行額外驗證。
    
    {* ../../docs_src/settings/tutorial001_py310.py hl[2,5:8,11] *}
    
    /// tip
    
    如果你想要可以直接複製貼上的範例,先別用這個,請改用本文最後一個範例。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  2. docs/fr/docs/features.md

    from datetime import date
    
    from pydantic import BaseModel
    
    # Déclarez une variable comme étant une str
    # et profitez de l'aide de l'éditeur dans cette fonction
    def main(user_id: str):
        return user_id
    
    
    # Un modèle Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Qui peuvent ensuite être utilisés comme ceci :
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  3. internal/dsync/dsync_test.go

    }
    
    func BenchmarkMutexWorkSlack(b *testing.B) {
    	benchmarkMutex(b, true, true)
    }
    
    func BenchmarkMutexNoSpin(b *testing.B) {
    	b.ResetTimer()
    	b.ReportAllocs()
    
    	// This benchmark models a situation where spinning in the mutex should be
    	// non-profitable and allows to confirm that spinning does not do harm.
    	// To achieve this we create excess of goroutines most of which do local work.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/BuildTimestampValueSource.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.interpolation;
    
    import java.util.Date;
    import java.util.Properties;
    
    import org.codehaus.plexus.interpolation.AbstractValueSource;
    
    /**
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/MavenBuildTimestampTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.interpolation;
    
    import java.util.Date;
    import java.util.Properties;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    @Deprecated
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/header-params.md

    La réponse ressemblerait à ceci :
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## Récapitulatif { #recap }
    
    Déclarez les en-têtes avec `Header`, en suivant le même modèle que pour `Query`, `Path` et `Cookie`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  7. apache-maven/README.txt

                              Apache Maven
    
      What is it?
      -----------
    
      Maven is a software project management and comprehension tool. Based on
      the concept of a Project Object Model (POM), Maven can manage a project's
      build, reporting and documentation from a central piece of information.
    
      Documentation
      -------------
    
      The most up-to-date documentation can be found at https://maven.apache.org/.
    
      Release Notes
      -------------
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Aug 12 21:54:56 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/DetectedProfileActivator.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.profiles.activation;
    
    import org.apache.maven.model.Profile;
    
    /**
     * DetectedProfileActivator
     */
    @Deprecated
    public abstract class DetectedProfileActivator implements ProfileActivator {
        @Override
        public boolean canDetermineActivation(Profile profile) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingEventCatapult.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.building;
    
    /**
     * Assists in firing events from a generic method by abstracting from the actual callback method to be called on the
     * listener.
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/FileSettingsSource.java

         * @param settingsFile The settings file, must not be {@code null}.
         */
        public FileSettingsSource(File settingsFile) {
            super(settingsFile);
        }
    
        /**
         * Gets the settings file of this model source.
         *
         * @return The underlying settings file, never {@code null}.
         * @deprecated instead use {@link #getFile()}
         */
        @Deprecated
        public File getSettingsFile() {
            return getFile();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
Back to Top