-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #338 from pcattori/instance-and-dataset
Instance and dataset
- Loading branch information
Showing
25 changed files
with
342 additions
and
126 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# BETA | ||
|
||
**WARNING**: Do not rely on BETA features in production workflows. | ||
Support from Tamr may be limited. | ||
|
||
## Reference | ||
|
||
* [Attributes](beta/attributes) | ||
* [Auth](beta/auth) | ||
* [Dataset](beta/datasets) | ||
* [Instance](beta/instance) | ||
* [Session](beta/session) |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Attributes | ||
|
||
* [Attribute](/beta/attributes/attribute) | ||
* [Attribute Type](/beta/attributes/attribute_type) | ||
* [SubAttribute](/beta/attributes/subattribute) |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Attribute | ||
========= | ||
|
||
.. autoclass:: tamr_client.Attribute | ||
|
||
.. autofunction:: tamr_client.attribute.from_resource_id | ||
.. autofunction:: tamr_client.attribute.to_json | ||
.. autofunction:: tamr_client.attribute.create | ||
.. autofunction:: tamr_client.attribute.update | ||
.. autofunction:: tamr_client.attribute.delete | ||
|
||
Exceptions | ||
---------- | ||
|
||
.. autoclass:: tamr_client.ReservedAttributeName | ||
:no-inherited-members: | ||
|
||
.. autoclass:: tamr_client.AttributeExists | ||
:no-inherited-members: | ||
|
||
.. autoclass:: tamr_client.AttributeNotFound | ||
:no-inherited-members: |
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
AttributeType | ||
============= | ||
|
||
See https://docs.tamr.com/reference#attribute-types | ||
|
||
.. autodata:: tamr_client.attribute_type.BOOLEAN | ||
.. autodata:: tamr_client.attribute_type.DOUBLE | ||
.. autodata:: tamr_client.attribute_type.INT | ||
.. autodata:: tamr_client.attribute_type.LONG | ||
.. autodata:: tamr_client.attribute_type.STRING | ||
|
||
.. NOTE(pcattori): Manually write docs for complex attribute types | ||
Complex types recursively reference other attribute types or subattributes | ||
sphinx_autodoc_typehints cannot properly parse types recursively | ||
.. class:: tamr_client.attribute_type.Array(inner_type) | ||
|
||
:param inner_type: | ||
:type inner_type: :class:`~tamr_client.AttributeType` | ||
|
||
.. class:: tamr_client.attribute_type.Map(inner_type) | ||
|
||
:param inner_type: | ||
:type inner_type: :class:`~tamr_client.AttributeType` | ||
|
||
.. class:: tamr_client.attribute_type.Record(attributes) | ||
|
||
:param attributes: | ||
:type attributes: :class:`~typing.Tuple` [:class:`~tamr_client.SubAttribute`] | ||
|
||
.. autofunction:: tamr_client.attribute_type.from_json | ||
.. autofunction:: tamr_client.attribute_type.to_json | ||
|
||
Type aliases | ||
------------ | ||
|
||
.. autodata:: tamr_client.attributes.type_alias.DEFAULT | ||
.. autodata:: tamr_client.attributes.type_alias.GEOSPATIAL |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
SubAttribute | ||
============ | ||
|
||
.. class:: tamr_client.SubAttribute(name, type, is_nullable, description=None) | ||
|
||
:param name: | ||
:type name: :class:`str` | ||
:param type: | ||
:type type: :class:`~tamr_client.AttributeType` | ||
:param is_nullable: | ||
:type is_nullable: :class:`bool` | ||
:param description: | ||
:type description: :class:`~typing.Optional` [:class:`str`] | ||
|
||
.. autofunction:: tamr_client.subattribute.from_json | ||
.. autofunction:: tamr_client.subattribute.to_json |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Auth | ||
==== | ||
|
||
.. autoclass:: tamr_client.UsernamePasswordAuth |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Datasets | ||
|
||
* [Dataset](/beta/datasets/dataset) |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Dataset | ||
======= | ||
|
||
.. autoclass:: tamr_client.Dataset | ||
|
||
.. autofunction:: tamr_client.dataset.from_resource_id | ||
.. autofunction:: tamr_client.dataset.attributes | ||
|
||
Exceptions | ||
---------- | ||
|
||
.. autoclass:: tamr_client.DatasetNotFound | ||
:no-inherited-members: |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Instance | ||
======== | ||
|
||
.. autoclass:: tamr_client.Instance | ||
|
||
.. autofunction:: tamr_client.instance.origin |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Session | ||
======= | ||
|
||
The :class:`~tamr_client.Session` type is an alias for :class:`requests.Session`. | ||
|
||
For more information, see the official :class:`requests.Session` docs. | ||
|
||
.. autofunction:: tamr_client.session.from_auth |
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 |
---|---|---|
|
@@ -44,3 +44,7 @@ assert op.succeeded() | |
## Reference | ||
|
||
* [Reference](reference) | ||
|
||
## BETA | ||
|
||
* [BETA](beta) |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.