Skip to content

Commit

Permalink
Merge pull request #151 from shay-te/update_crud_da
Browse files Browse the repository at this point in the history
make rule_validator parameter optional in CRUDDataAccess
  • Loading branch information
shubham-shay-te authored Oct 16, 2024
2 parents 72d6098 + 84adfb9 commit 44367a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class CRUDDataAccess(DataAccess, CRUD):
def __init__(self, db_entity, db: SqlAlchemyConnectionRegistry, rule_validator: RuleValidator):
def __init__(self, db_entity, db: SqlAlchemyConnectionRegistry, rule_validator: RuleValidator = None):
CRUD.__init__(self, db_entity, db, rule_validator)

@NotFoundErrorHandler()
Expand Down

0 comments on commit 44367a2

Please sign in to comment.