Skip to content

Commit

Permalink
Merge pull request #162 from A-Baji/part-table-support
Browse files Browse the repository at this point in the history
part table support
  • Loading branch information
jverswijver authored Apr 25, 2023
2 parents ed8a2fd + 57b1459 commit 632084b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.

## [0.8.5] - 2023-04-26

### Added

- Part table support for forms [#162](https://github.com/datajoint/pharus/pull/162)

## [0.8.4] - 2023-04-04

### Changed
Expand Down Expand Up @@ -296,6 +302,7 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
- Support for DataJoint attribute types: `varchar`, `int`, `float`, `datetime`, `date`, `time`, `decimal`, `uuid`.
- Check dependency utility to determine child table references.

[0.8.5]: https://github.com/datajoint/pharus/compare/0.8.4...0.8.5
[0.8.4]: https://github.com/datajoint/pharus/compare/0.8.3...0.8.4
[0.8.3]: https://github.com/datajoint/pharus/compare/0.8.2...0.8.3
[0.8.2]: https://github.com/datajoint/pharus/compare/0.8.1...0.8.2
Expand Down
19 changes: 17 additions & 2 deletions pharus/component_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,25 @@ def __init__(self, *args, **kwargs):
s,
connection=self.connection,
),
t,
t[0],
)
if len(t) == 1
else getattr(
getattr(
dj.VirtualModule(
s,
s,
connection=self.connection,
),
t[0],
),
t[1],
)
for s, t in (
_.format(**request.args).split(".")
(
_.format(**request.args).split(".")[0],
_.format(**request.args).split(".")[1:],
)
for _ in self.component_config["tables"]
)
]
Expand Down
2 changes: 1 addition & 1 deletion pharus/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Package metadata."""
__version__ = "0.8.4"
__version__ = "0.8.5"

0 comments on commit 632084b

Please sign in to comment.