Skip to content

Commit

Permalink
(refactor): built-in shadowing in SmartDatalake (#848)
Browse files Browse the repository at this point in the history
* (refactor): avoid built-in names shadowing in `set_instance_type()`
  method of `SmartDatalake`
  • Loading branch information
nautics889 authored Jan 3, 2024
1 parent a19dd9e commit e30ed1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandasai/smart_datalake/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ def __init__(
server_config=self._config.log_server,
)

def set_instance_type(self, type: str):
self._instance = type
def set_instance_type(self, type_: str):
self._instance = type_

def is_related_query(self, flag: bool):
self._query_exec_tracker.set_related_query(flag)
Expand Down

0 comments on commit e30ed1a

Please sign in to comment.