Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1711 - 1720 of 2,381 for apps (0.03 sec)

  1. tests/test_tutorial/test_dataclasses/test_tutorial001.py

    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from docs_src.dataclasses.tutorial001 import app
    
    client = TestClient(app)
    
    
    def test_post_item():
        response = client.post("/items/", json={"name": "Foo", "price": 3})
        assert response.status_code == 200
        assert response.json() == {
            "name": "Foo",
            "price": 3,
            "description": None,
            "tax": None,
        }
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_dependencies/test_tutorial004.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from docs_src.dependencies.tutorial004 import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            (
                "/items",
                200,
                {
                    "items": [
                        {"item_name": "Foo"},
                        {"item_name": "Bar"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_dependencies/test_tutorial004_an.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from docs_src.dependencies.tutorial004_an import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            (
                "/items",
                200,
                {
                    "items": [
                        {"item_name": "Foo"},
                        {"item_name": "Bar"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/CreateForm.java

     * 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.dataconfig;
    
    import org.codelibs.fess.app.web.CrudMode;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.validation.CustomSize;
    import org.lastaflute.web.validation.Required;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/error/ErrorForm.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.error;
    
    import java.util.HashMap;
    import java.util.Map;
    
    public class ErrorForm {
    
        public Map<String, String[]> fields = new HashMap<>();
    
        public String q;
    
        public String url;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 919 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/UploadForm.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.stemmeroverride;
    
    import org.lastaflute.web.ruts.multipart.MultipartFormFile;
    import org.lastaflute.web.validation.Required;
    
    /**
     * @author shinsuke
     * @author Keiichi Watanabe
     */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 982 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/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.stopwords;
    
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    /**
     * @author ma2tani
     */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1009 bytes
    - Viewed (0)
  8. istioctl/pkg/util/common.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package util
    
    import (
    	"fmt"
    	"io"
    	"strings"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	binversion "istio.io/istio/operator/version"
    )
    
    var NeverMatch = &metav1.LabelSelector{
    	MatchLabels: map[string]string{
    		"istio.io/deactivated": "never-match",
    	},
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. istioctl/pkg/validate/validate.go

    	"github.com/spf13/cobra"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    	"k8s.io/apimachinery/pkg/runtime"
    	kubeyaml "k8s.io/apimachinery/pkg/util/yaml"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	operator "istio.io/istio/operator/pkg/apis"
    	operatorvalidate "istio.io/istio/operator/pkg/apis/validation"
    	"istio.io/istio/pkg/config"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

                    sourceFile = (if (descriptor.componentType === ComponentType.LIBRARY) "hello" else "app") + ".cpp"
                    testSourceFile = (if (descriptor.componentType === ComponentType.LIBRARY) "hello" else "app") + "_test.cpp"
                    sourceFileTree = """        │   │   └── $sourceFile
            │   └── headers
            │       └── app.h"""
                    testSourceFileTree = "                └── $testSourceFile"
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 22 11:11:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top