Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 989 for square (0.1 sec)

  1. fastapi/encoders.py

                """
            ),
        ] = True,
    ) -> Any:
        """
        Convert any object to something that can be encoded in JSON.
    
        This is used internally by FastAPI to make sure anything you return can be
        encoded as JSON before it is sent to the client.
    
        You can also use it yourself, for example to convert objects before saving them
        in a database that supports only JSON.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. internal/config/dns/etcd_dns.go

    	for _, domainName := range c.domainNames {
    		key := msgPath(fmt.Sprintf("%s.%s.", bucket, domainName), c.prefixPath)
    		records, err := c.list(key, false)
    		if err != nil {
    			return nil, err
    		}
    		// Make sure we have record.Key is empty
    		// this can only happen when record.Key
    		// has bucket entry with exact prefix
    		// match any record.Key which do not
    		// match the prefixes we skip them.
    		for _, record := range records {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/security/simple-oauth2.md

    Pela especificação, você deve retornar um JSON com um `access_token` e um `token_type`, o mesmo que neste exemplo.
    
    Isso é algo que você mesmo deve fazer em seu código e certifique-se de usar essas chaves JSON.
    
    É quase a única coisa que você deve se lembrar de fazer corretamente, para estar em conformidade com as especificações.
    
    De resto, **FastAPI** cuida disso para você.
    
    ///
    
    ## Atualize as dependências
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:17:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/path-params.md

    And then you can also have a path `/users/{user_id}` to get data about a specific user by some user ID.
    
    Because *path operations* are evaluated in order, you need to make sure that the path for `/users/me` is declared before the one for `/users/{user_id}`:
    
    ```Python hl_lines="6  11"
    {!../../docs_src/path_params/tutorial003.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. cmd/os_unix.go

    // and returns nil.
    func osMkdirAll(dirPath string, perm os.FileMode, baseDir string) error {
    	if baseDir != "" {
    		if strings.HasPrefix(baseDir, dirPath) {
    			return nil
    		}
    	}
    
    	// Slow path: make sure parent exists and then call Mkdir for path.
    	i := len(dirPath)
    	for i > 0 && os.IsPathSeparator(dirPath[i-1]) { // Skip trailing path separator.
    		i--
    	}
    
    	j := i
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. finisher_api.go

    			}
    			defer func() {
    				// Make sure to rollback when panic, Block error or Commit error
    				if panicked || err != nil {
    					db.RollbackTo(fmt.Sprintf("sp%d", spID))
    				}
    			}()
    		}
    		err = fc(db.Session(&Session{NewDB: db.clone == 1}))
    	} else {
    		tx := db.Begin(opts...)
    		if tx.Error != nil {
    			return tx.Error
    		}
    
    		defer func() {
    			// Make sure to rollback when panic, Block error or Commit error
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

        assertThat("::FFFF:129.144.52.38".canParseAsIpAddress()).isTrue()
    
        // Hostnames
        assertThat("go".canParseAsIpAddress()).isFalse()
        assertThat("localhost".canParseAsIpAddress()).isFalse()
        assertThat("squareup.com".canParseAsIpAddress()).isFalse()
        assertThat("www.nintendo.co.jp".canParseAsIpAddress()).isFalse()
      }
    
      private fun certificate(certificate: String): X509Certificate {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Configuration.java

         * 
         * @return local NETBIOS/short name to announce
         */
        String getNetbiosHostname ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.logonShare</tt>
         * 
         * @return share to connect to during authentication, if unset connect to IPC$
         */
        String getLogonShare ();
    
    
        /**
         * 
         * 
         * Property <tt>jcifs.smb.client.domain</tt>
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        public Set<Object> create(Object... elements) {
          return ImmutableSet.copyOf(elements);
        }
      }
    
      public static class DegeneratedImmutableSetGenerator extends TestStringSetGenerator {
        // Make sure we get what we think we're getting, or else this test
        // is pointless
        @SuppressWarnings("cast")
        @Override
        protected Set<String> create(String[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/openapi-callbacks.md

    ```Python
    callback_url = "https://example.com/api/v1/invoices/events/"
    httpx.post(callback_url, json={"description": "Invoice paid", "paid": True})
    ```
    
    But possibly the most important part of the callback is making sure that your API user (the external developer) implements the *external API* correctly, according to the data that *your API* is going to send in the request body of the callback, etc.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top