forked from gdcc/pyDataverse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Beautify Python and JSON files; Run isort on code; Auto-wrap with lin…
…e-length 80 of Python files"
- Loading branch information
1 parent
9db0f1d
commit 7a14a93
Showing
15 changed files
with
446 additions
and
351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
.. :changelog: | ||
|
||
0.2.0 - (2019-06-17) - Ida Pfeiffer | ||
------------------------------------ | ||
## 0.2.0 - (2019-06-17) - Ida Pfeiffer | ||
|
||
[Release](https://github.com/AUSSDA/pyDataverse/releases/tag/v0.2.0) | ||
|
||
0.1.1 - (2019-05-28) | ||
------------------------------------ | ||
## 0.1.1 - (2019-05-28) | ||
|
||
[Release](https://github.com/AUSSDA/pyDataverse/releases/tag/v0.1.1) | ||
|
||
0.1.0 - (2019-05-20) - Marietta Blau | ||
------------------------------------ | ||
## 0.1.0 - (2019-05-20) - Marietta Blau | ||
|
||
[Release](https://github.com/AUSSDA/pyDataverse/releases/tag/v0.1.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,51 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"$id": "https://github.com/AUSSDA/pyDataverse/schemas/json/datafile_upload_schema.json", | ||
"type": "object", | ||
"title": "Datafile JSON upload schema", | ||
"description": "Describes the full Datafile metadata JSON file structure for a Dataverse API upload.", | ||
"default": {}, | ||
"required": [ | ||
"pid", | ||
"filename" | ||
], | ||
"additionalProperties": false, | ||
"properties": { | ||
"description": { | ||
"$id": "#/properties/description", | ||
"type": "string" | ||
}, | ||
"categories": { | ||
"$id": "#/properties/categories", | ||
"type": "array", | ||
"additionalItems": false, | ||
"items": { | ||
"anyOf": [ | ||
{ | ||
"$id": "#/properties/categories/items/anyOf/0", | ||
"type": "string" | ||
} | ||
], | ||
"$id": "#/properties/categories/items" | ||
} | ||
}, | ||
"restrict": { | ||
"$id": "#/properties/restrict", | ||
"type": "boolean" | ||
}, | ||
"pid": { | ||
"$id": "#/properties/pid", | ||
"type": "string" | ||
}, | ||
"filename": { | ||
"$id": "#/properties/filename", | ||
"type": "string" | ||
}, | ||
"title": { | ||
"$id": "#/properties/title", | ||
"type": "string" | ||
}, | ||
"directoryLabel": { | ||
"$id": "#/properties/directoryLabel", | ||
"type": "string" | ||
} | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"$id": "https://github.com/AUSSDA/pyDataverse/schemas/json/datafile_upload_schema.json", | ||
"type": "object", | ||
"title": "Datafile JSON upload schema", | ||
"description": "Describes the full Datafile metadata JSON file structure for a Dataverse API upload.", | ||
"default": {}, | ||
"required": [ | ||
"pid", | ||
"filename" | ||
], | ||
"additionalProperties": false, | ||
"properties": { | ||
"description": { | ||
"$id": "#/properties/description", | ||
"type": "string" | ||
}, | ||
"categories": { | ||
"$id": "#/properties/categories", | ||
"type": "array", | ||
"additionalItems": false, | ||
"items": { | ||
"anyOf": [{ | ||
"$id": "#/properties/categories/items/anyOf/0", | ||
"type": "string" | ||
}], | ||
"$id": "#/properties/categories/items" | ||
} | ||
}, | ||
"restrict": { | ||
"$id": "#/properties/restrict", | ||
"type": "boolean" | ||
}, | ||
"pid": { | ||
"$id": "#/properties/pid", | ||
"type": "string" | ||
}, | ||
"filename": { | ||
"$id": "#/properties/filename", | ||
"type": "string" | ||
}, | ||
"title": { | ||
"$id": "#/properties/title", | ||
"type": "string" | ||
}, | ||
"directoryLabel": { | ||
"$id": "#/properties/directoryLabel", | ||
"type": "string" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,57 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"$id": "https://github.com/AUSSDA/pyDataverse/schemas/json/dataverse_upload_schema.json", | ||
"type": "object", | ||
"title": "Dataverse JSON upload schema", | ||
"description": "Describes the full Dataverse metadata JSON file structure for a Dataverse API upload.", | ||
"required": [ | ||
"name", | ||
"alias", | ||
"dataverseContacts" | ||
], | ||
"additionalProperties": false, | ||
"properties": { | ||
"name": { | ||
"$id": "#/properties/name", | ||
"type": "string" | ||
}, | ||
"alias": { | ||
"$id": "#/properties/alias", | ||
"type": "string" | ||
}, | ||
"dataverseContacts": { | ||
"$id": "#/properties/dataverseContacts", | ||
"type": "array", | ||
"additionalItems": false, | ||
"items": { | ||
"anyOf": [ | ||
{ | ||
"$id": "#/properties/dataverseContacts/items/anyOf/0", | ||
"type": "object", | ||
"required": [ | ||
"contactEmail" | ||
], | ||
"additionalProperties": false, | ||
"properties": { | ||
"contactEmail": { | ||
"$id": "#/properties/dataverseContacts/items/anyOf/0/properties/contactEmail", | ||
"type": "string" | ||
} | ||
} | ||
} | ||
], | ||
"$id": "#/properties/dataverseContacts/items" | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"$id": "https://github.com/AUSSDA/pyDataverse/schemas/json/dataverse_upload_schema.json", | ||
"type": "object", | ||
"title": "Dataverse JSON upload schema", | ||
"description": "Describes the full Dataverse metadata JSON file structure for a Dataverse API upload.", | ||
"required": [ | ||
"name", | ||
"alias", | ||
"dataverseContacts" | ||
], | ||
"additionalProperties": false, | ||
"properties": { | ||
"name": { | ||
"$id": "#/properties/name", | ||
"type": "string" | ||
}, | ||
"alias": { | ||
"$id": "#/properties/alias", | ||
"type": "string" | ||
}, | ||
"dataverseContacts": { | ||
"$id": "#/properties/dataverseContacts", | ||
"type": "array", | ||
"additionalItems": false, | ||
"items": { | ||
"anyOf": [{ | ||
"$id": "#/properties/dataverseContacts/items/anyOf/0", | ||
"type": "object", | ||
"required": [ | ||
"contactEmail" | ||
], | ||
"additionalProperties": false, | ||
"properties": { | ||
"contactEmail": { | ||
"$id": "#/properties/dataverseContacts/items/anyOf/0/properties/contactEmail", | ||
"type": "string" | ||
} | ||
}, | ||
"affiliation": { | ||
"$id": "#/properties/affiliation", | ||
"type": "string" | ||
}, | ||
"description": { | ||
"$id": "#/properties/description", | ||
"type": "string" | ||
}, | ||
"dataverseType": { | ||
"$id": "#/properties/dataverseType", | ||
"type": "string" | ||
} | ||
} | ||
}], | ||
"$id": "#/properties/dataverseContacts/items" | ||
} | ||
}, | ||
"affiliation": { | ||
"$id": "#/properties/affiliation", | ||
"type": "string" | ||
}, | ||
"description": { | ||
"$id": "#/properties/description", | ||
"type": "string" | ||
}, | ||
"dataverseType": { | ||
"$id": "#/properties/dataverseType", | ||
"type": "string" | ||
} | ||
} | ||
} |
Oops, something went wrong.