Skip to content

Commit

Permalink
fix document change
Browse files Browse the repository at this point in the history
  • Loading branch information
chuongmep committed Mar 5, 2024
1 parent f81dbf2 commit 88e0ab7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion APSToolkitPython/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setuptools.setup(
name="aps-toolkit",
version="0.2.5",
version="0.2.6",
author="chuong mep",
author_email="[email protected]",
description="A Toolkit Autodesk Platform Services for Python",
Expand Down
6 changes: 1 addition & 5 deletions APSToolkitPython/src/aps_toolkit/ProDbReaderRevit.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ def get_external_id(self, id) -> str:
return self.ids[id]

def get_document_info(self) -> pd.Series:
properties = self.get_properties(1)
instances = self.get_instance(1)
for instance in instances:
types = self.get_properties(instance)
properties = {**properties, **types}
properties = self.get_all_properties(1)
return pd.Series(properties)

def get_all_categories(self) -> dict:
Expand Down
1 change: 0 additions & 1 deletion APSToolkitPython/src/test/test_prop_reader_revit.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ def setUp(self):

def test_get_document_info(self):
document_info = self.prop_reader.get_document_info()
# check series is not empty
self.assertIsNotNone(document_info)

def test_get_all_categories(self):
Expand Down

0 comments on commit 88e0ab7

Please sign in to comment.