Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-63

mariadb package should have more dunders such as __version__

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.58
    • Fix Version/s: 0.9.59
    • Component/s: Generic
    • Labels:
      None

      Description

      It would be useful if the mariadb package had dunders such as:

      • __version__
      • __version_info__
      • __all__

      I'm far from an expert, but there are some relevant PEPs on version, e.g.:
      https://www.python.org/dev/peps/pep-0396/
      https://www.python.org/dev/peps/pep-0440/

      As always, StackOverflow is also useful:
      https://stackoverflow.com/questions/458550/standard-way-to-embed-version-into-python-package

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            karll Karl Levik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: