mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
fix: Remove properties argument from event method in Analytics class
This commit is contained in:
parent
c2c9b60ea6
commit
a7a626423c
1 changed files with 2 additions and 3 deletions
|
@ -41,12 +41,11 @@ class Analytics:
|
|||
|
||||
return new_uuid
|
||||
|
||||
def event(self, event_name, properties=None, main_model=None, **kwargs):
|
||||
def event(self, event_name, main_model=None, **kwargs):
|
||||
if not self.mp:
|
||||
return
|
||||
|
||||
if properties is None:
|
||||
properties = {}
|
||||
properties = {}
|
||||
properties.update(kwargs)
|
||||
properties.update(self.get_system_info()) # Add system info to all events
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue