code: def _get_all_constants():
      
      return [
          key for key in globals().keys()
          if all([
              not key.startswith("_"),          # publicly accesible
              key.upper() == key,               # uppercase
              type(globals()[key]) in _ALLOWED  # and with type from _ALLOWED
          ])
      ]
docs: Get list of all uppercase, non-private globals (doesn't start with ``_``).
  
      Returns:
          list: Uppercase names defined in `globals()` (variables from this \
                module).