Gabriel commited on
Commit
2ef5e05
1 Parent(s): 0033070

Update helper/utils.py

Browse files
Files changed (1) hide show
  1. helper/utils.py +3 -2
helper/utils.py CHANGED
@@ -47,8 +47,9 @@ class TrafficDataHandler:
47
 
48
  @classmethod
49
  def store_metric_data(cls, action, request: gr.Request):
50
- hashed_host = cls._hash_ip(request.client.host)
51
- cls._backup_and_update_database(hashed_host, action)
 
52
 
53
  @classmethod
54
  def _commit_host_to_database(cls, hashed_host, action):
 
47
 
48
  @classmethod
49
  def store_metric_data(cls, action, request: gr.Request):
50
+ pass
51
+ #hashed_host = cls._hash_ip(request.client.host)
52
+ #cls._backup_and_update_database(hashed_host, action)
53
 
54
  @classmethod
55
  def _commit_host_to_database(cls, hashed_host, action):