Skip to content

Commit 215bc9c

Browse files
chore: Bump version to 2.1.0a5
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent d3c7afb commit 215bc9c

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/datajoint/condition.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ def prep_value(k, v):
316316
"""prepare SQL condition"""
317317
key_match, k = translate_attribute(k, adapter)
318318
is_json_path = key_match is not None and key_match.get("path") is not None
319-
has_explicit_type = key_match is not None and key_match.get("type") is not None
320319

321320
if not is_json_path:
322321
k = adapter.quote_identifier(k)

src/datajoint/expression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def proj(self, *attributes, **named_attributes):
457457
from other attributes available before the projection.
458458
Each attribute name can only be used once.
459459
"""
460-
adapter = self.connection.adapter if hasattr(self, 'connection') and self.connection else None
460+
adapter = self.connection.adapter if hasattr(self, "connection") and self.connection else None
461461
named_attributes = {k: translate_attribute(v, adapter)[1] for k, v in named_attributes.items()}
462462
# new attributes in parentheses are included again with the new name without removing original
463463
duplication_pattern = re.compile(rf"^\s*\(\s*(?!{'|'.join(CONSTANT_LITERALS)})(?P<name>[a-zA-Z_]\w*)\s*\)\s*$")

src/datajoint/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# version bump auto managed by Github Actions:
22
# label_prs.yaml(prep), release.yaml(bump), post_release.yaml(edit)
33
# manually set this version will be eventually overwritten by the above actions
4-
__version__ = "2.1.0a4"
4+
__version__ = "2.1.0a5"

0 commit comments

Comments
 (0)