Skip to content

Fix #698 and #699#706

Merged
guzman-raphael merged 13 commits into
datajoint:masterfrom
dimitri-yatsenko:master
Nov 22, 2019
Merged

Fix #698 and #699#706
guzman-raphael merged 13 commits into
datajoint:masterfrom
dimitri-yatsenko:master

Conversation

@dimitri-yatsenko

@dimitri-yatsenko dimitri-yatsenko commented Nov 19, 2019

Copy link
Copy Markdown
Member

@dimitri-yatsenko dimitri-yatsenko changed the title Fix #698 Fix #698 and #699 Nov 19, 2019
Comment thread tests/test_relation.py Outdated
cls.trash = schema.UberTrash()

def test_class_help(self):
help(schema.TTest)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it make sense to also e.g.:
assert schema.TTest.definition in schema.TTest.__doc__

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done. Also moved into test_declare

Comment thread tests/test_relation.py Outdated
def test_class_help(self):
help(schema.TTest)

def test_instance_help(self):

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as before r.e. testing for definition in doc.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done. Also moved into test_declare

@guzman-raphael guzman-raphael left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update CHANGELOG.md and docs-parts/intro/Releases_lang1.rst based on these updates?

Comment thread datajoint/table.py
@guzman-raphael

Copy link
Copy Markdown
Collaborator

@dimitri-yatsenko Can you also update docs-parts/intro/Releases_lang1.rst to match CHANGELOG.md?

Comment thread datajoint/blob.py Outdated
raise DataJointError('datajoint-python does not yet support sparse arrays. Issue (#590)')

def read_scalar(selfs):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a typo... Does not raise/return anything?

@guzman-raphael guzman-raphael merged commit 94c2eb8 into datajoint:master Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Append table definition to docstring help does not work on tables

3 participants