Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4731 - 4740 of 7,190 for imports (0.03 sec)

  1. docs/zh/docs/advanced/additional-status-codes.md

    /// warning | 警告
    
    当你直接返回一个像上面例子中的 `Response` 对象时,它会直接返回。
    
    FastAPI 不会用模型等对该响应进行序列化。
    
    确保其中有你想要的数据,且返回的值为合法的 JSON(如果你使用 `JSONResponse` 的话)。
    
    ///
    
    /// note | 技术细节
    
    你也可以使用 `from starlette.responses import JSONResponse`。 
    
    出于方便,**FastAPI** 为开发者提供同 `starlette.responses` 一样的 `fastapi.responses`。但是大多数可用的响应都是直接来自 Starlette。`status` 也是一样。
    
    ///
    
    ## OpenAPI 和 API 文档
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. callbacks/helper_test.go

    package callbacks
    
    import (
    	"reflect"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    )
    
    func TestLoadOrStoreVisitMap(t *testing.T) {
    	var vm visitMap
    	var loaded bool
    	type testM struct {
    		Name string
    	}
    
    	t1 := testM{Name: "t1"}
    	t2 := testM{Name: "t2"}
    	t3 := testM{Name: "t3"}
    
    	vm = make(visitMap)
    	if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf(&t1)); loaded {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Mar 05 02:22:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. cmd/metrics-v3-cluster-health.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 cmd
    
    import "context"
    
    const (
    	healthDrivesOfflineCount = "drives_offline_count"
    	healthDrivesOnlineCount  = "drives_online_count"
    	healthDrivesCount        = "drives_count"
    )
    
    var (
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/exbhv/AccessTokenBhv.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.config.exbhv;
    
    import java.util.regex.Pattern;
    
    import org.codelibs.fess.opensearch.config.bsbhv.BsAccessTokenBhv;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class AccessTokenBhv extends BsAccessTokenBhv {
        private String indexName = null;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/exbhv/CrawlingInfoBhv.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.config.exbhv;
    
    import java.util.regex.Pattern;
    
    import org.codelibs.fess.opensearch.config.bsbhv.BsCrawlingInfoBhv;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class CrawlingInfoBhv extends BsCrawlingInfoBhv {
        private String indexName = null;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/exbhv/DataConfigBhv.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.config.exbhv;
    
    import java.util.regex.Pattern;
    
    import org.codelibs.fess.opensearch.config.bsbhv.BsDataConfigBhv;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class DataConfigBhv extends BsDataConfigBhv {
        private String indexName = null;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/exbhv/DuplicateHostBhv.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.config.exbhv;
    
    import java.util.regex.Pattern;
    
    import org.codelibs.fess.opensearch.config.bsbhv.BsDuplicateHostBhv;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class DuplicateHostBhv extends BsDuplicateHostBhv {
        private String indexName = null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exbhv/RequestHeaderBhv.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.config.exbhv;
    
    import java.util.regex.Pattern;
    
    import org.codelibs.fess.opensearch.config.bsbhv.BsRequestHeaderBhv;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class RequestHeaderBhv extends BsRequestHeaderBhv {
        private String indexName = null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestSubjectGenerator.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * To be implemented by test generators that can produce test subjects without requiring any
     * parameters.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeCapture.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.reflect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    
    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    
    /**
     * Captures the actual type of {@code T}.
     *
     * @author Ben Yu
     */
    abstract class TypeCapture<T> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top