Skip to content

Instantly share code, notes, and snippets.

@whitespy
Last active February 11, 2025 09:42
Show Gist options
  • Select an option

  • Save whitespy/e3f14853128a76cca298823afbcb1a35 to your computer and use it in GitHub Desktop.

Select an option

Save whitespy/e3f14853128a76cca298823afbcb1a35 to your computer and use it in GitHub Desktop.

Revisions

  1. whitespy renamed this gist Feb 11, 2025. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. whitespy created this gist Feb 11, 2025.
    8 changes: 8 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    if __name__ == "__main__":
    base_manager = RedisBaseManager()
    print(id(base_manager))
    print(id(base_manager.redis_connection))

    base_manager = RedisBaseManager()
    print(id(base_manager))
    print(id(base_manager.redis_connection))