Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 1,830 for tool (0.04 sec)

  1. docs_src/security/tutorial003.py

    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    class User(BaseModel):
        username: str
        email: Union[str, None] = None
        full_name: Union[str, None] = None
        disabled: Union[bool, None] = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. internal/bucket/replication/tag.go

    )
    
    func (tag Tag) String() string {
    	return tag.Key + "=" + tag.Value
    }
    
    // IsEmpty returns whether this tag is empty or not.
    func (tag Tag) IsEmpty() bool {
    	return tag.Key == ""
    }
    
    // Validate checks this tag.
    func (tag Tag) Validate() error {
    	if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 {
    		return errInvalidTagKey
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  3. internal/s3select/csv/reader.go

    	queue        chan *queueItem  // output from workers in order
    	err          error            // global error state, only touched by Reader.Read
    	bufferPool   sync.Pool        // pool of []byte objects for input
    	csvDstPool   sync.Pool        // pool of [][]string used for output
    	close        chan struct{}    // used for shutting down the splitter before end of stream
    	readerWg     sync.WaitGroup   // used to keep track of async reader.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. .github/workflows/pylint-presubmit.yml

            pip install pylint==2.13.9 numpy wheel
        - name: Run PyLint on changed files
          run: |
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. docs/pt/docs/how-to/configure-swagger-ui.md

    # Configurar Swagger UI
    
    Você pode configurar alguns <a href="https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/" class="external-link" target="_blank">parâmetros extras da UI do Swagger</a>.
    
    Para configurá-los, passe o argumento `swagger_ui_parameters` ao criar o objeto de aplicativo `FastAPI()` ou para a função `get_swagger_ui_html()`.
    
    `swagger_ui_parameters` recebe um dicionário com as configurações passadas diretamente para o Swagger UI.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. internal/config/lambda/event/targetid_test.go

    		}
    	}
    }
    
    func TestTargetDMarshalJSON(t *testing.T) {
    	testCases := []struct {
    		tid          TargetID
    		expectedData []byte
    		expectErr    bool
    	}{
    		{TargetID{}, []byte(`":"`), false},
    		{TargetID{"1", "webhook"}, []byte(`"1:webhook"`), false},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. internal/event/targetid_test.go

    		}
    	}
    }
    
    func TestTargetDMarshalJSON(t *testing.T) {
    	testCases := []struct {
    		tid          TargetID
    		expectedData []byte
    		expectErr    bool
    	}{
    		{TargetID{}, []byte(`":"`), false},
    		{TargetID{"1", "webhook"}, []byte(`"1:webhook"`), false},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  8. cmd/common-main_test.go

    package cmd
    
    import (
    	"errors"
    	"os"
    	"reflect"
    	"testing"
    )
    
    func Test_readFromSecret(t *testing.T) {
    	testCases := []struct {
    		content       string
    		expectedErr   bool
    		expectedValue string
    	}{
    		{
    			"value\n",
    			false,
    			"value",
    		},
    		{
    			" \t\n Hello, Gophers \n\t\r\n",
    			false,
    			"Hello, Gophers",
    		},
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            }
            throw new TransportException("All connection attempts failed");
        }
    
    
        /**
         * 
         * @param trans
         * @return whether (non-exclusive) connection is in the pool
         */
        public boolean contains ( SmbTransport trans ) {
            synchronized ( this.connections ) {
                cleanup();
                return this.connections.contains(trans);
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  10. apache-maven/pom.xml

        <dependency>
          <groupId>org.ow2.asm</groupId>
          <artifactId>asm</artifactId>
        </dependency>
    
        <dependency>
          <groupId>org.apache.maven.resolver</groupId>
          <artifactId>maven-resolver-tools</artifactId>
          <version>${resolverVersion}</version>
          <scope>test</scope>
          <exclusions>
            <exclusion>
              <groupId>org.slf4j</groupId>
              <artifactId>slf4j-nop</artifactId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 13:41:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top