25c6342e289d0607a24abbf4da1ee391fa0fa115,dino/utils/__init__.py,,activity_for_get_acl,#Any#Any#,864
Before Change
def activity_for_get_acl(activity: Activity, acl_values: dict) -> dict:
response = {
"object": {
"objectType": "acl"
},
"published": datetime.utcnow().strftime(ConfigKeys.DEFAULT_DATE_FORMAT),
"verb": "get",
"id": str(uuid())
}
if hasattr(activity, "target") and hasattr(activity.target, "id"):
response["target"] = {"id": activity.target.id}
After Change
def activity_for_get_acl(activity: Activity, acl_values: dict) -> dict:
response = ActivityBuilder.enrich({
"object": {
"objectType": "acl"
},
"verb": "get"
})
if hasattr(activity, "target") and hasattr(activity.target, "id"):
response["target"] = {"id": activity.target.id}
In pattern: SUPERPATTERN
Frequency: 28
Non-data size: 9
Instances
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_get_acl
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_request_admin
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_going_invisible
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_user_banned
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_leave
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_already_banned
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_blacklisted_word
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_message
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_user_joined
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_connect
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_user_kicked
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_going_visible
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_history
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_broadcast
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_invite
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_users_in_room
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_msg_status
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_owners
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_create_room
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_disconnect
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_join
Project Name: thenetcircle/dino
Commit Name: 76e9fe32dd25f0de3bcda06a040a6f949267d69d
Time: 2019-01-28
Author: oscar.eriks@gmail.com
File Name: dino/hooks/startup.py
Class Name: OnStartupDoneHooks
Method Name: publish_startup_done_event
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_list_rooms
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_login
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_whisper
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_room_removed
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_remove_room
Project Name: thenetcircle/dino
Commit Name: 25c6342e289d0607a24abbf4da1ee391fa0fa115
Time: 2018-04-12
Author: oscar.eriks@gmail.com
File Name: dino/utils/__init__.py
Class Name:
Method Name: activity_for_report