Skip to content

Commit

Permalink
Incremented version and regenerated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
armandmcqueen committed Oct 11, 2019
1 parent 60b9315 commit 431ade2
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 14 deletions.
2 changes: 1 addition & 1 deletion api/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from setuptools import setup, find_packages
from setuptools.command.install import install

VERSION = "3.1.2"
VERSION = "3.1.3"

def readme():
readme_short = """
Expand Down
6 changes: 0 additions & 6 deletions docs/API Reference/Bucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ A new Bucket
Updates this bucket's search endpoint based on a federation config.


## Bucket.get\_user\_meta\_schema(self) {#Bucket.get\_user\_meta\_schema}

Returns the current search mappings for user metadata from the search endpoint.


## Bucket.search(self, query, limit=10) {#Bucket.search}

Execute a search against the configured search endpoint.
Expand All @@ -41,7 +36,6 @@ Query Syntax:

__Returns__

either the request object (in case of an error) or
a list of objects with the following structure:
```
[{
Expand Down
21 changes: 16 additions & 5 deletions docs/API Reference/Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ In-memory representation of a package

## manifest

Provides a generator of the dicts that make up the serialied package.
Provides a generator of the dicts that make up the serialized package.


## top_hash
Expand Down Expand Up @@ -203,17 +203,27 @@ fail to create file
fail to finish write


## Package.set(self, logical\_key, entry=None, meta=None) {#Package.set}
## Package.set(self, logical\_key, entry=None, meta=None, serialization\_location=None, serialization\_format\_opts=None) {#Package.set}

Returns self with the object at logical_key set to entry.

__Arguments__

* __logical_key(string)__: logical key to update
* __entry(PackageEntry OR string)__: new entry to place at logical_key in the package.
* __entry(PackageEntry OR string OR object)__: new entry to place at logical_key in the package.
If entry is a string, it is treated as a URL, and an entry is created based on it.
If entry is None, the logical key string will be substituted as the entry value.
If entry is an object and quilt knows how to serialize it, it will immediately be serialized and written
to disk, either to serialization_location or to a location managed by quilt. List of types that Quilt
can serialize is available by calling `quilt3.formats.FormatRegistry.all_supported_formats()`
* __meta(dict)__: user level metadata dict to attach to entry
* __serialization_format_opts(dict)__: Optional. If passed in, only used if entry is an object. Options to help
Quilt understand how the object should be serialized. Useful for underspecified file formats like csv
when content contains confusing characters. Will be passed as kwargs to the FormatHandler.serialize()
function. See docstrings for individual FormatHandlers for full list of options -
* __https__: //github.com/quiltdata/quilt/blob/master/api/python/quilt3/formats.py
* __serialization_location(string)__: Optional. If passed in, only used if entry is an object. Where the
serialized object should be written, e.g. "./mydataframe.parquet"

__Returns__

Expand Down Expand Up @@ -275,7 +285,7 @@ Performs a user-specified operation on each entry in the package.

__Arguments__

* __f__: function
* __f(x, y)__: function
The function to be applied to each package entry.
It should take two inputs, a logical key and a PackageEntry.
* __include_directories__: bool
Expand All @@ -292,8 +302,9 @@ removing results that evaluate to False from the output.

__Arguments__

* __f__: function
* __f(x, y)__: function
The function to be applied to each package entry.
It should take two inputs, a logical key and a PackageEntry.
This function should return a boolean.
* __include_directories__: bool
Whether or not to include directory entries in the map.
Expand Down
4 changes: 2 additions & 2 deletions docs/API Reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ __Arguments__
## list\_packages(registry=None) {#list\_packages}
Lists Packages in the registry.

Returns a list of all named packages in a registry.
Returns a sequence of all named packages in a registry.
If the registry is None, default to the local registry.

__Arguments__
Expand All @@ -59,5 +59,5 @@ __Arguments__

__Returns__

A list of strings containing the names of the packages
A sequence of strings containing the names of the packages

0 comments on commit 431ade2

Please sign in to comment.