Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2211 - 2220 of 3,421 for list (0.02 sec)

  1. docs/uk/docs/tutorial/encoder.md

    # JSON Compatible Encoder
    
    Існують випадки, коли вам може знадобитися перетворити тип даних (наприклад, модель Pydantic) в щось сумісне з JSON (наприклад, `dict`, `list`, і т. д.).
    
    Наприклад, якщо вам потрібно зберегти це в базі даних.
    
    Для цього, **FastAPI** надає `jsonable_encoder()` функцію.
    
    ## Використання `jsonable_encoder`
    
    Давайте уявимо, що у вас є база даних `fake_db`, яка приймає лише дані, сумісні з JSON.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListIndexOfTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code indexOf()} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java

    /** Unit tests for {@link Service} */
    public class ServiceTest extends TestCase {
    
      /** Assert on the comparison ordering of the State enum since we guarantee it. */
      public void testStateOrdering() {
        // List every valid (direct) state transition.
        assertLessThan(NEW, STARTING);
        assertLessThan(NEW, TERMINATED);
    
        assertLessThan(STARTING, RUNNING);
        assertLessThan(STARTING, STOPPING);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  4. ci/official/README.md

    #   TFCI is a comma-separated list of filenames from the envs directory, which
    #   are all settings for the scripts. TF's CI jobs are all made of a combination
    #   of these env files.
    #
    #   If you've clicked on a test result from our CI (via a dashboard or GitHub link),
    #   click to "Invocation Details" and find BUILD_CONFIG, which will contain a TFCI
    #   value in the "env_vars" list that you can choose to copy that environment.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Feb 01 03:21:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/common/extensions.kt

                doesNotEqual("skip.build", "true")
            }
        }
    }
    
    fun buildToolGradleParameters(daemon: Boolean = true, isContinue: Boolean = true, maxParallelForks: String = "%maxParallelForks%"): List<String> =
        listOf(
            // We pass the 'maxParallelForks' setting as 'workers.max' to limit the maximum number of executers even
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 10 03:25:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/builder.patchelf/build_patchelf.sh

    # problems that would occur with a binary package
    
    mkdir -p /patchelf
    cd /patchelf
    echo deb-src http://ports.ubuntu.com/ubuntu-ports/ jammy universe>>/etc/apt/sources.list
    apt-get update
    apt-get -y build-dep patchelf/jammy
    apt-get -b source patchelf/jammy
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 15:53:15 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt

      val proxies: MutableList<Proxy> = mutableListOf()
    
      fun addProxy(proxy: Proxy): FakeProxySelector {
        proxies.add(proxy)
        return this
      }
    
      override fun select(uri: URI): List<Proxy> {
        // Don't handle 'socket' schemes, which the RI's Socket class may request (for SOCKS).
        return if (uri.scheme == "http" || uri.scheme == "https") proxies else listOf(Proxy.NO_PROXY)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. src/main/webapp/js/suggestor.js

                  reslist = [];
                  for (i = 0; i < hits.length; i++) {
                    reslist.push(hits[i].text);
                  }
                  $olEle = $("<ol/>");
                  $olEle.css("list-style", "none");
                  $olEle.css("padding", "0");
                  $olEle.css("margin", "2px");
    
                  for (
                    j = 0;
                    j < reslist.length && listNum < settingAjaxInfo.num;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.settings.validation;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.maven.internal.impl.DefaultSettingsBuilder;
    import org.apache.maven.settings.Mirror;
    import org.apache.maven.settings.Profile;
    import org.apache.maven.settings.Proxy;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. cmd/metrics-v3.go

    		clusterConfigMG,
    
    		ilmMG,
    		scannerMG,
    		auditMG,
    		loggerWebhookMG,
    	}
    
    	// Bucket metrics are special, they always include the bucket label. These
    	// metrics required a list of buckets to be passed to the loader, and the list
    	// of buckets is not known until the request is made. So we keep a separate
    	// map for bucket metrics and handle them specially.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 00:55:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top