- Sort Score
- Result 10 results
- Languages All
Results 6521 - 6530 of 8,397 for KClass (0.09 sec)
-
docs/zh/docs/advanced/response-directly.md
/// ## 返回自定义 `Response` 上面的例子展示了需要的所有部分,但还不够实用,因为你本可以只是直接返回 `item`,而**FastAPI** 默认帮你把这个 `item` 放到 `JSONResponse` 中,又默认将其转换成了 `dict`等等。 现在,让我们看看你如何才能返回一个自定义的响应。 假设你想要返回一个 <a href="https://en.wikipedia.org/wiki/XML" class="external-link" target="_blank">XML</a> 响应。 你可以把你的 XML 内容放到一个字符串中,放到一个 `Response` 中,然后返回。 {* ../../docs_src/response_directly/tutorial002.py hl[1,18] *} ## 说明
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3K bytes - Viewed (0) -
docs/zh/docs/deployment/versions.md
# 关于 FastAPI 版本 **FastAPI** 已在许多应用程序和系统的生产环境中使用。 并且测试覆盖率保持在100%。 但其开发进度仍在快速推进。 经常添加新功能,定期修复错误,并且代码仍在持续改进。 这就是为什么当前版本仍然是`0.x.x`,这反映出每个版本都可能有Breaking changes。 这遵循<a href="https://semver.org/" class="external-link" target="_blank">语义版本控制</a>的约定。 你现在就可以使用 **FastAPI** 创建生产环境应用程序(你可能已经这样做了一段时间),你只需确保使用的版本可以与其余代码正确配合即可。 ## 固定你的 `fastapi` 版本 你应该做的第一件事是将你正在使用的 **FastAPI** 版本“固定”到你知道适用于你的应用程序的特定最新版本。 例如,假设你在应用程序中使用版本`0.45.0`。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 3.1K bytes - Viewed (0) -
internal/disk/stat_linux.go
// Check if there is a parent device: // e.g. if the mount is based on /dev/nvme0n1p1, let's calculate the // real device name (nvme0n1) to get its sysfs information parentDevPath, e := os.Readlink("/sys/class/block/" + devName) if e == nil { parentDev := filepath.Base(filepath.Dir(parentDevPath)) qst, err = bfs.SysBlockDeviceQueueStats(parentDev) } } if err == nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
* * @author Louis Wasserman */ @GwtIncompatible // NavigableMap @NullUnmarked public class TreeRangeMapTest extends TestCase { @AndroidIncompatible // test-suite builders public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(TreeRangeMapTest.class); suite.addTest( MapTestSuiteBuilder.using( new TestMapGenerator<Range<Integer>, String>() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 30.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
@Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultisetNavigationTester<E> extends AbstractMultisetTester<E> { private SortedMultiset<E> sortedMultiset; private List<E> entries; private Entry<E> a; private Entry<E> b; private Entry<E> c; @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 20:14:36 UTC 2024 - 26K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/SearchRenderData.java
import org.codelibs.fess.util.FacetResponse; /** * Data container for search results rendering. * * This class holds all the data needed to render search results in the UI, * including the actual search results, pagination information, facet data, * execution timing, and highlighting parameters. */ public class SearchRenderData { /** List of search result documents. */ protected List<Map<String, Object>> documentItems;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java
import jakarta.validation.constraints.Min; import jakarta.validation.constraints.Size; /** * Form class for editing general system settings in the admin interface. * This form handles global configuration settings that affect the entire Fess system, * including crawling behavior, authentication, logging, and various system parameters. * */ public class EditForm { /** * Creates a new EditForm instance. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/resources/fess_message_pl.properties
# Framework Default # ================= # ---------------------------------------------------------- # Lasta Taglib # ------------ errors.header = <ul class="has-error"> errors.footer = </ul> errors.prefix = <li><i class="fa fa-exclamation-circle"></i> errors.suffix = </li> # ---------------------------------------------------------- # Javax Validator # ---------------
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 10 04:56:21 UTC 2025 - 12.5K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
R8 / ProGuard ------------- R8 and ProGuard are both code optimizers for `.class` files. R8 is the [default optimizer][r8] in Android Studio 3.4 and newer. It works well with all releases of OkHttp. ProGuard was the previous default. We’re [tracking problems][proguard_problems] with interactions between ProGuard, OkHttp 4.x, and Kotlin-originated `.class` files. Make sure you’re on the latest release if you’re using ProGuard,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
* * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @SuppressWarnings({"checkstyle:methodname"}) @Named @Singleton @Deprecated(since = "4.0.0") public class DefaultInheritanceAssembler implements InheritanceAssembler { private InheritanceModelMerger merger = new InheritanceModelMerger(); private static final String CHILD_DIRECTORY = "child-directory";Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 13.4K bytes - Viewed (0)