Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 697 for targs (0.03 sec)

  1. tests/connpool_test.go

    func (c *wrapperTx) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error) {
    	c.conn.got = append(c.conn.got, query)
    	return c.Tx.ExecContext(ctx, query, args...)
    }
    
    func (c *wrapperTx) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error) {
    	c.conn.got = append(c.conn.got, query)
    	return c.Tx.QueryContext(ctx, query, args...)
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. internal/bucket/replication/and.go

    )
    
    // And - a tag to combine a prefix and multiple tags for replication configuration rule.
    type And struct {
    	XMLName xml.Name `xml:"And" json:"And"`
    	Prefix  string   `xml:"Prefix,omitempty" json:"Prefix,omitempty"`
    	Tags    []Tag    `xml:"Tag,omitempty" json:"Tag,omitempty"`
    }
    
    var errDuplicateTagKey = Errorf("Duplicate Tag Keys are not allowed")
    
    // isEmpty returns true if Tags field is null
    func (a And) isEmpty() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body_updates/test_tutorial001_py39.py

            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    @needs_py39
    def test_put(client: TestClient):
        response = client.put(
            "/items/bar", json={"name": "Barz", "price": 3, "description": None}
        )
        assert response.json() == {
            "name": "Barz",
            "description": None,
            "price": 3,
            "tax": 10.5,
            "tags": [],
        }
    
    
    @needs_py39
    @needs_pydanticv2
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  4. internal/event/target/mqtt.go

    // NewMQTTTarget - creates new MQTT target.
    func NewMQTTTarget(id string, args MQTTArgs, loggerOnce logger.LogOnce) (*MQTTTarget, error) {
    	if args.MaxReconnectInterval == 0 {
    		// Default interval
    		// https://github.com/eclipse/paho.mqtt.golang/blob/master/options.go#L115
    		args.MaxReconnectInterval = 10 * time.Minute
    	}
    
    	if args.KeepAlive == 0 {
    		args.KeepAlive = 10 * time.Second
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/filter_test.go

    func TestTestTags(t *testing.T) {
    	noTags := Filter{
    		set: true,
    		And: And{
    			Tags: []Tag{},
    		},
    		andSet: true,
    	}
    
    	oneTag := Filter{
    		set: true,
    		And: And{
    			Tags: []Tag{{Key: "FOO", Value: "1"}},
    		},
    		andSet: true,
    	}
    
    	twoTags := Filter{
    		set: true,
    		And: And{
    			Tags: []Tag{{Key: "FOO", Value: "1"}, {Key: "BAR", Value: "2"}},
    		},
    		andSet: true,
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/metadata.md

    /// tip
    
    You don't have to add metadata for all the tags that you use.
    
    ///
    
    ### Use your tags
    
    Use the `tags` parameter with your *path operations* (and `APIRouter`s) to assign them to different tags:
    
    ```Python hl_lines="21  26"
    {!../../docs_src/metadata/tutorial004.py!}
    ```
    
    /// info
    
    Read more about tags in [Path Operation Configuration](path-operation-configuration.md#tags){.internal-link target=_blank}.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. internal/bucket/replication/filter.go

    			return err
    		}
    	}
    	return nil
    }
    
    // TestTags tests if the object tags satisfy the Filter tags requirement,
    // it returns true if there is no tags in the underlying Filter.
    func (f *Filter) TestTags(userTags string) bool {
    	if f.cachedTags == nil {
    		cached := make(map[string]string)
    		for _, t := range append(f.And.Tags, f.Tag) {
    			if !t.IsEmpty() {
    				cached[t.Key] = t.Value
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 28 18:25:46 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SpnegoContext.java

                NegTokenTarg targ = (NegTokenTarg) spToken;
    
                if ( this.firstResponse ) {
                    if ( !this.mechContext.isSupported(targ.getMechanism()) ) {
                        throw new SmbException("Server chose an unsupported mechanism " + targ.getMechanism());
                    }
                    this.selectedMech = targ.getMechanism();
                    if ( targ.getResult() == NegTokenTarg.REQUEST_MIC ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 14.8K bytes
    - Viewed (0)
  9. cmd/bucket-lifecycle-audit.go

    		ilmNewerNoncurrentVersions = "ilm-newer-noncurrent-versions"
    		ilmNoncurrentDays          = "ilm-noncurrent-days"
    	)
    	tags := make(map[string]string, 5)
    	if src > lcEventSrc_None {
    		tags[ilmSrc] = src.String()
    	}
    	tags[ilmAction] = event.Action.String()
    	tags[ilmRuleID] = event.RuleID
    
    	if !event.Due.IsZero() {
    		tags[ilmDue] = event.Due.Format(iso8601Format)
    	}
    
    	// rule with Transition/NoncurrentVersionTransition in effect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_query_param_models/test_tutorial002.py

                "limit": 10,
                "offset": 5,
                "order_by": "updated_at",
                "tags": ["tag1", "tag2"],
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "limit": 10,
            "offset": 5,
            "order_by": "updated_at",
            "tags": ["tag1", "tag2"],
        }
    
    
    def test_query_param_model_defaults(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top