add rybbit
This commit is contained in:
@@ -623,6 +623,7 @@ class DynamoDBPersistenceLayer:
|
||||
expr_attr_values: dict = {},
|
||||
start_key: dict = {},
|
||||
filter_expr: str | None = None,
|
||||
projection_expr: str | None = None,
|
||||
limit: int | None = None,
|
||||
index_forward: bool = True,
|
||||
table_name: str | None = None,
|
||||
@@ -661,6 +662,9 @@ class DynamoDBPersistenceLayer:
|
||||
if filter_expr:
|
||||
attrs['FilterExpression'] = filter_expr
|
||||
|
||||
if projection_expr:
|
||||
attrs['ProjectionExpression'] = projection_expr
|
||||
|
||||
if limit:
|
||||
attrs['Limit'] = limit
|
||||
|
||||
@@ -1148,6 +1152,7 @@ class DynamoDBCollection:
|
||||
expr_attr_values: dict = {},
|
||||
start_key: str | None = None,
|
||||
filter_expr: str | None = None,
|
||||
projection_expr: str | None = None,
|
||||
index_forward: bool = False,
|
||||
limit: int = LIMIT,
|
||||
table_name: str | None = None,
|
||||
@@ -1209,6 +1214,7 @@ class DynamoDBCollection:
|
||||
expr_attr_name=key.expr_attr_name() | expr_attr_name,
|
||||
expr_attr_values=key.expr_attr_values() | expr_attr_values,
|
||||
filter_expr=filter_expr,
|
||||
projection_expr=projection_expr,
|
||||
index_forward=index_forward,
|
||||
limit=limit,
|
||||
start_key=_startkey_b64decode(start_key) if start_key else {},
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "layercake"
|
||||
version = "0.11.3"
|
||||
version = "0.11.4"
|
||||
description = "Packages shared dependencies to optimize deployment and ensure consistency across functions."
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
|
||||
Reference in New Issue
Block a user