Skip to content

Commit cc5f516

Browse files
committed
♻️ Swap SQLRecord with BaseSQLRecord
a
1 parent d7280f1 commit cc5f516

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lndocs/lamin_sphinx/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,14 +753,14 @@ def process_docstring(app, what, name, obj, options, lines):
753753
"FeatureManager": FeatureManager,
754754
}
755755
except ImportError as err:
756-
SQLRecord = int
756+
BaseSQLRecord = int
757757
print("WARNING: DID NOT IMPORT LAMINDB", err)
758758

759759
if inspect.isclass(obj):
760760
field_lines = []
761761
provenance_field_lines = []
762762
attributes_to_exclude = set()
763-
if issubclass(obj, SQLRecord):
763+
if issubclass(obj, BaseSQLRecord):
764764
update_all_annotations(obj, types)
765765
registry_info = SQLRecordInfo(obj)
766766
field_lines.append("")

0 commit comments

Comments
 (0)