Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 1,726 for ujson (0.03 sec)

  1. tests/test_validate_response.py

    
    def test_valid_none_data():
        response = client.get("/items/validnone")
        data = response.json()
        assert response.status_code == 200
        assert data == {"name": "invalid", "price": 3.2, "owner_ids": None}
    
    
    def test_valid_none_none():
        response = client.get("/items/validnone", params={"send_none": "true"})
        data = response.json()
        assert response.status_code == 200
        assert data is None
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. buildscripts/multipart-quorum-test.sh

    	export AWS_ACCESS_KEY_ID=minio
    	export AWS_SECRET_ACCESS_KEY=minio123
    	aws --endpoint-url http://localhost:"$start_port" s3api create-multipart-upload --bucket bucket --key obj-1 >upload-id.json
    	uploadId=$(jq -r '.UploadId' upload-id.json)
    
    	truncate -s 5MiB file-5mib
    	for i in {1..2}; do
    		aws --endpoint-url http://localhost:"$start_port" s3api upload-part \
    			--upload-id "$uploadId" --bucket bucket --key obj-1 \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 10:51:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. soft_delete.go

    	}
    	return n.Time, nil
    }
    
    func (n DeletedAt) MarshalJSON() ([]byte, error) {
    	if n.Valid {
    		return json.Marshal(n.Time)
    	}
    	return json.Marshal(nil)
    }
    
    func (n *DeletedAt) UnmarshalJSON(b []byte) error {
    	if string(b) == "null" {
    		n.Valid = false
    		return nil
    	}
    	err := json.Unmarshal(b, &n.Time)
    	if err == nil {
    		n.Valid = true
    	}
    	return err
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 4.5K bytes
    - Viewed (1)
  4. tests/test_param_class.py

        response = client.get("/items/")
        assert response.status_code == 200, response.text
        assert response.json() == {"q": None}
    
    
    def test_default_param_query():
        response = client.get("/items/?q=foo")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 636 bytes
    - Viewed (0)
  5. .github/workflows/multipart/migrate.sh

    ./mc ready site2/
    
    for i in $(seq 1 10); do
    	# mc admin heal -r --remove when used against a LB endpoint
    	# behaves flaky, let this run 10 times before giving up
    	./mc admin heal -r --remove --json site1/ 2>&1 >/dev/null
    	./mc admin heal -r --remove --json site2/ 2>&1 >/dev/null
    done
    
    failed_count_site1=$(./s3-check-md5 -versions -access-key minioadmin -secret-key minioadmin -endpoint http://site1-nginx:9001 -bucket testbucket 2>&1 | grep FAILED | wc -l)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. docs/bucket/versioning/DESIGN.md

    - LegacyObjectType (preserves existing deployments and older xl.json format)
    - DeleteMarker (a versionId to capture the DELETE sequences implemented primarily for AWS spec compatibility)
    
    A sample msgpack-JSON `xl.meta`, you can debug the content inside `xl.meta` using [xl-meta.go](https://github.com/minio/minio/tree/master/docs/debugging#decoding-metadata) program.
    
    ```json
    {
      "Versions": [
        {
          "Type": 1,
          "V2Obj": {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  7. docs/ru/docs/alternatives.md

    Главной функцией, которую я хотел унаследовать от Django REST Framework, была автоматическая документация API.
    
    Но потом я обнаружил, что существует стандарт документирования API, использующий JSON (или YAML, расширение JSON) под названием Swagger.
    
    И к нему уже был создан пользовательский веб-интерфейс.
    Таким образом, возможность генерировать документацию Swagger для API позволила бы использовать этот интерфейс.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/projects/GradleBuildToolRootProject.kt

            projectId = "Check",
            branch = branch,
            buildScanTags = listOf("Check"),
            subprojects = JsonBasedGradleSubprojectProvider(File("./subprojects.json"))
        )
        val gradleBuildBucketProvider = DefaultFunctionalTestBucketProvider(model, File("./test-buckets.json"))
        subProject(CheckProject(model, gradleBuildBucketProvider))
    
        if (!isSecurityFork()) {
            subProject(PromotionProject(model.branch))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 1002 bytes
    - Viewed (0)
  9. internal/s3select/json/errors.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 json
    
    type s3Error struct {
    	code       string
    	message    string
    	statusCode int
    	cause      error
    }
    
    func (err *s3Error) Cause() error {
    	return err.cause
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  10. src/test/resources/plugin/repo1/index.html

    <a href="fess-ds-gsuite/" title="fess-ds-gsuite/">fess-ds-gsuite/</a>                                                  -         -      
    <a href="fess-ds-json/" title="fess-ds-json/">fess-ds-json/</a>                                                    -         -      
    <a href="fess-ds-office365/" title="fess-ds-office365/">fess-ds-office365/</a>                                               -         -      
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Aug 13 07:34:14 UTC 2019
    - 3.3K bytes
    - Viewed (0)
Back to top