Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 1,044 for query2 (0.11 sec)

  1. internal/grid/types.go

    	},
    }
    
    // Recycle the underlying map.
    func (m *MSS) Recycle() {
    	if m != nil && *m != nil {
    		mssPool.Put(map[string]string(*m))
    		*m = nil
    	}
    }
    
    // ToQuery constructs a URL query string from the MSS, including "?" if there are any keys.
    func (m MSS) ToQuery() string {
    	if len(m) == 0 {
    		return ""
    	}
    	var buf strings.Builder
    	buf.WriteByte('?')
    	keys := make([]string, 0, len(m))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		HTTPStatusCode: http.StatusRequestedRangeNotSatisfiable,
    	},
    	ErrInvalidRangePartNumber: {
    		Code:           "InvalidRequest",
    		Description:    "Cannot specify both Range header and partNumber query parameter",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMalformedXML: {
    		Code:           "MalformedXML",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/sql-databases.md

    *在这里,我们在路径操作函数*和依赖项中都使用着 SQLAlchemy 模型,它将与外部数据库进行通信。
    
    这会需要一些“等待时间”。
    
    但是由于 SQLAlchemy 不具有`await`直接使用的兼容性,因此类似于:
    
    ```Python
    user = await db.query(User).first()
    ```
    
    ...相反,我们可以使用:
    
    ```Python
    user = db.query(User).first()
    ```
    
    然后我们应该声明*路径操作函数*和不带 的依赖关系`async def`,只需使用普通的`def`,如下:
    
    ```Python hl_lines="2"
    @app.get("/users/{user_id}", response_model=schemas.User)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. docs/metrics/prometheus/grafana/bucket/minio-bucket.json

            "multi": false,
            "name": "scrape_jobs",
            "options": [],
            "query": {
              "query": "label_values(job)",
              "refId": "StandardVariableQuery"
            },
            "refresh": 1,
            "regex": "",
            "skipUrlSync": false,
            "sort": 0,
            "type": "query"
          }
        ]
      },
      "time": {
        "from": "now-1h",
        "to": "now"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 11:11:51 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  5. fastapi/openapi/utils.py

        cookie_params = _get_flat_fields_from_params(flat_dependant.cookie_params)
        parameter_groups = [
            (ParamTypes.path, path_params),
            (ParamTypes.query, query_params),
            (ParamTypes.header, header_params),
            (ParamTypes.cookie, cookie_params),
        ]
        for param_type, param_group in parameter_groups:
            for param in param_group:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  6. cmd/handler-utils.go

    }
    
    func extractMetadata(ctx context.Context, mimesHeader ...textproto.MIMEHeader) (metadata map[string]string, err error) {
    	metadata = make(map[string]string)
    
    	for _, hdr := range mimesHeader {
    		// Extract all query values.
    		err = extractMetadataFromMime(ctx, hdr, metadata)
    		if err != nil {
    			return nil, err
    		}
    	}
    
    	// Set content-type to default value if it is not set.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. docs/em/docs/advanced/security/oauth2-scopes.md

    ```
    
    /// info | "📡 ℹ"
    
    `Security` 🤙 🏿 `Depends`, & ⚫️ ✔️ 1️⃣ ➕ 🔢 👈 👥 🔜 👀 ⏪.
    
    ✋️ ⚙️ `Security` ↩️ `Depends`, **FastAPI** 🔜 💭 👈 ⚫️ 💪 📣 💂‍♂ ↔, ⚙️ 👫 🔘, & 📄 🛠️ ⏮️ 🗄.
    
    ✋️ 🕐❔ 👆 🗄 `Query`, `Path`, `Depends`, `Security` & 🎏 ⚪️➡️ `fastapi`, 👈 🤙 🔢 👈 📨 🎁 🎓.
    
    ///
    
    ## ⚙️ `SecurityScopes`
    
    🔜 ℹ 🔗 `get_current_user`.
    
    👉 1️⃣ ⚙️ 🔗 🔛.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. internal/config/identity/plugin/config.go

    		return AuthNResponse{}, nil
    	}
    
    	if roleArn != o.args.RoleARN {
    		return AuthNResponse{}, fmt.Errorf("Invalid role ARN value: %s", roleArn.String())
    	}
    
    	u := url.URL(*o.args.URL)
    	q := u.Query()
    	q.Set("token", token)
    	u.RawQuery = q.Encode()
    
    	ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
    	defer cancel()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        /** The key of the message: The given query has unknown condition. */
        public static final String ERRORS_invalid_query_unknown = "{errors.invalid_query_unknown}";
    
        /** The key of the message: The given query is invalid. */
        public static final String ERRORS_invalid_query_parse_error = "{errors.invalid_query_parse_error}";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  10. fastapi/param_functions.py

            openapi_examples=openapi_examples,
            deprecated=deprecated,
            include_in_schema=include_in_schema,
            json_schema_extra=json_schema_extra,
            **extra,
        )
    
    
    def Query(  # noqa: N802
        default: Annotated[
            Any,
            Doc(
                """
                Default value if the parameter field is not set.
                """
            ),
        ] = Undefined,
        *,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
Back to top