- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 1,467 for dist (0.08 sec)
-
docs/pt/docs/advanced/response-cookies.md
```Python hl_lines="1 8-9" {!../../docs_src/response_cookies/tutorial002.py!} ``` Em seguida, você pode retornar qualquer objeto que precise, como normalmente faria (um `dict`, um modelo de banco de dados, etc). E se você declarou um `response_model`, ele ainda será usado para filtrar e converter o objeto que você retornou.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 14 09:15:24 UTC 2024 - 2.4K bytes - Viewed (0) -
docs/pt/docs/advanced/response-headers.md
```Python hl_lines="1 7-8" {!../../docs_src/response_headers/tutorial002.py!} ``` Em seguida você pode retornar qualquer objeto que precisar, da maneira que faria normalmente (um `dict`, um modelo de banco de dados, etc.). Se você declarou um `response_model`, ele ainda será utilizado para filtrar e converter o objeto que você retornou.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 16 07:44:45 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/de/docs/advanced/response-cookies.md
```Python hl_lines="1 8-9" {!../../docs_src/response_cookies/tutorial002.py!} ``` Anschließend können Sie wie gewohnt jedes gewünschte Objekt zurückgeben (ein `dict`, ein Datenbankmodell, usw.). Und wenn Sie ein `response_model` deklariert haben, wird es weiterhin zum Filtern und Konvertieren des von Ihnen zurückgegebenen Objekts verwendet.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/zh/docs/advanced/response-change-status-code.md
你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies和头部做的那样)。 然后你可以在这个*临时*响应对象中设置`status_code`。 ```Python hl_lines="1 9 12" {!../../docs_src/response_change_status_code/tutorial001.py!} ``` 然后你可以像平常一样返回任何你需要的对象(例如一个`dict`或者一个数据库模型)。如果你声明了一个`response_model`,它仍然会被用来过滤和转换你返回的对象。 **FastAPI**将使用这个临时响应来提取状态码(也包括cookies和头部),并将它们放入包含你返回的值的最终响应中,该响应由任何`response_model`过滤。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.4K bytes - Viewed (0) -
internal/disk/stat_test.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package disk import ( "os" "reflect" "testing" ) func TestReadDriveStats(t *testing.T) { testCases := []struct { stat string expectedIOStats IOStats expectErr bool }{ {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.5K bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
// ParityBlocks is the number of parity blocks for erasure-coding ParityBlocks int `json:"parity"` // BlockSize is the size of one erasure-coded block BlockSize int64 `json:"blockSize"` // Index is the index of the current disk Index int `json:"index"` // Distribution is the distribution of the data and parity blocks Distribution []int `json:"distribution"` // Checksums holds all bitrot checksums of all erasure encoded blocks
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 8.4K bytes - Viewed (0) -
docs/ko/docs/tutorial/metadata.md
| `version` | `string` | API의 버전입니다. OpenAPI의 버전이 아닌, 여러분의 애플리케이션의 버전을 나타냅니다. 예: `2.5.0` | | `terms_of_service` | `str` | API 이용 약관의 URL입니다. 제공하는 경우 URL 형식이어야 합니다. |
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 29 10:36:06 UTC 2024 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java
} private static List<String> split(final String s, final String separator) { final List<String> list = new ArrayList<>(2); StringBuilder sb = new StringBuilder(); int pos = 0; final int end = s.length(); while (pos < end) { if (s.startsWith(separator, pos)) { if (sb.length() > 0) { list.add(sb.toString());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 12.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/encoder.md
# Codificador Compatível com JSON Existem alguns casos em que você pode precisar converter um tipo de dados (como um modelo Pydantic) para algo compatível com JSON (como um `dict`, `list`, etc). Por exemplo, se você precisar armazená-lo em um banco de dados. Para isso, **FastAPI** fornece uma função `jsonable_encoder()`. ## Usando a função `jsonable_encoder`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/EditForm.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.admin.dict.kuromoji; import org.lastaflute.web.validation.Required; import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure; public class EditForm extends CreateForm { @Required
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 981 bytes - Viewed (0)