Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,912 for methods (0.14 sec)

  1. docs/pt/docs/tutorial/body-updates.md

    Se você quiser receber atualizações parciais, é muito útil usar o parâmetro `exclude_unset` no método `.model_dump()` do modelo do Pydantic.
    
    Como `item.model_dump(exclude_unset=True)`.
    
    /// info | Informação
    
    No Pydantic v1, o método que era chamado `.dict()` e foi depreciado (mas ainda suportado) no Pydantic v2. Agora, deve-se usar o método `.model_dump()`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 14 09:16:06 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/BigDecimalMath.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.math.BigDecimal;
    import java.math.RoundingMode;
    
    /**
     * A class for arithmetic on {@link BigDecimal} that is not covered by its built-in methods.
     *
     * @author Louis Wasserman
     * @since 30.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public class BigDecimalMath {
      private BigDecimalMath() {}
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SettableFuture.java

     *
     * <p>{@code SettableFuture} is the recommended {@code ListenableFuture} implementation when your
     * task cannot be implemented with {@link ListeningExecutorService}, the various {@link Futures}
     * utility methods, or {@link ListenableFutureTask}. Those APIs have less opportunity for developer
     * error. If your needs are more complex than {@code SettableFuture} supports, use {@link
     * AbstractFuture}, which offers an extensible version of the API.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  4. api/maven-api-meta/src/main/java/org/apache/maven/api/annotations/Experimental.java

    import java.lang.annotation.Documented;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    
    /**
     * This annotation tags types that are part of an experimental API.
     * Classes or methods annotated with this annotation may be changed / removed without notice.
     *
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.CLASS)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/MD4.java

            buffer = (byte[])md.buffer.clone();
            count = md.count;
        }
    
    
    // Cloneable method implementation
    //...........................................................................
    
        /**
         * Returns a copy of this MD object.
         */
        public Object clone() { return new MD4(this); }
    
    
    // JCE methods
    //...........................................................................
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ListeningScheduledExecutorService.java

    import java.util.concurrent.TimeUnit;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link ScheduledExecutorService} that returns {@link ListenableFuture} instances from its
     * {@code ExecutorService} methods. To create an instance from an existing {@link
     * ScheduledExecutorService}, call {@link
     * MoreExecutors#listeningDecorator(ScheduledExecutorService)}.
     *
     * @author Chris Povirk
     * @since 10.0
     */
    @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        }
      }
    
      /**
       * Implements {@code Multimap.put()} -- and no other methods -- for a {@code Map} by ignoring all
       * but the latest value for each key. This class exists only so that we can use {@link
       * MultimapsCollectionTest#populateMultimapForGet(Multimap, String[])} and similar methods to
       * populate a map to be passed to {@link Multimaps#forMap(Map)}. All tests should run against the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_internal.h

      tensorflow::Session* session;
      TF_Graph* const graph;
    
      tensorflow::mutex mu TF_ACQUIRED_AFTER(TF_Graph::mu);
      int last_num_graph_nodes;
    
      // If true, TF_SessionRun and similar methods will call
      // ExtendSessionGraphHelper before running the graph (this is the default
      // public behavior). Can be set to false if the caller needs to call
      // ExtendSessionGraphHelper manually.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  9. tests/test_extra_routes.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: Optional[float] = None
    
    
    @app.api_route("/items/{item_id}", methods=["GET"])
    def get_items(item_id: str):
        return {"item_id": item_id}
    
    
    def get_not_decorated(item_id: str):
        return {"item_id": item_id}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  10. internal/lsync/lrwmutex.go

    func (lm *LRWMutex) ForceUnlock() {
    	lm.mu.Lock()
    	defer lm.mu.Unlock()
    
    	lm.ref = 0
    	lm.isWriteLock = false
    }
    
    // DRLocker returns a sync.Locker interface that implements
    // the Lock and Unlock methods by calling drw.RLock and drw.RUnlock.
    func (lm *LRWMutex) DRLocker() sync.Locker {
    	return (*drlocker)(lm)
    }
    
    type drlocker LRWMutex
    
    func (dr *drlocker) Lock()   { (*LRWMutex)(dr).RLock() }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top