Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small change to collection of named ranges openpyxl 3.1.0 #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion adapter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

# build dist backup: drive, Public Code/Adapter

__version__ = "1.6.1"
__version__ = "1.6.2"

2 changes: 1 addition & 1 deletion adapter/to_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def load(self, data_object_names=None, kind="all"):
values
"""
# check if any name in data_object_names not in excel file
all_input_ranges = {object_range.name for object_range in self.wb.defined_names.definedName}
all_input_ranges = {obj_name for obj_name in self.wb.defined_names}
all_input_tables = {object_table for ws in self.wb.worksheets for object_table in ws.tables.keys()}
all_input_objects = all_input_ranges | all_input_tables

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ def get_version(rel_path):
"xlwings>=0.19.4",
"psycopg2-binary>=2.8.6",
"SQLAlchemy==1.4.29",
"openpyxl==3.0.9",
"openpyxl>=3.1.0",
],
)