Changes between Initial Version and Version 1 of Ticket #36988, comment 11


Ignore:
Timestamp:
Nov 6, 2026, 8:38:31 AM (8 days ago)
Author:
Johannes Maron

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36988, comment 11

    initial v1  
    11Howdy, as mentioned on the PR, I'd prefer option C ;) By that I mean moving the module attribute to the class, so it can be easily overridden. Best, Joe
     2
     3Something like:
     4
     5{{{
     6class GeoIP:
     7    supported_types = {}
     8
     9class MYGeoIP(GeoIP):
     10   supported_types = GeoIP.supported_types + ["my_type"]
     11}}}
Back to Top