Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove versionchanged/added directives from before 1.0 #575

Merged
merged 1 commit into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,6 @@ And now for something completely different.
Dynamic Columns
---------------

.. versionadded:: 0.8.3

Thanks to Josh Ourisman, Tablib now supports adding dynamic columns.
A dynamic column is a single callable object (*e.g.* a function).

Expand Down Expand Up @@ -294,9 +292,6 @@ provided for the column calculation.
Filtering Datasets with Tags
----------------------------

.. versionadded:: 0.9.0


When constructing a :class:`Dataset` object,
you can add tags to rows by specifying the ``tags`` parameter.
This allows you to filter your :class:`Dataset` later.
Expand Down Expand Up @@ -371,8 +366,6 @@ The resulting ``students.xls`` file will contain a separate spreadsheet for each
Separators
----------

.. versionadded:: 0.8.2

When constructing a spreadsheet,
it's often useful to create a blank row containing information on the upcoming data. So,

Expand Down
17 changes: 4 additions & 13 deletions src/tablib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,10 @@ def insert(self, index, row, tags=()):

The default behaviour is to insert the given row to the :class:`Dataset`
object at the given index.

You can add :ref:`tags <tags>` to the row you are inserting.
This gives you the ability to :method:`filter <Dataset.filter>` your
:class:`Dataset` later.
"""

self._validate(row)
Expand Down Expand Up @@ -544,17 +548,6 @@ def insert_col(self, index, col=None, header=None):
that row.

See :ref:`dyncols` for an in-depth example.

.. versionchanged:: 0.9.0
If inserting a column, and :attr:`Dataset.headers` is set, the
header attribute must be set, and will be considered the header for
that row.

.. versionadded:: 0.9.0
If inserting a row, you can add :ref:`tags <tags>` to the row you are inserting.
This gives you the ability to :method:`filter <Dataset.filter>` your
:class:`Dataset` later.

"""

if col is None:
Expand Down Expand Up @@ -638,8 +631,6 @@ def get_col(self, index):
def add_formatter(self, col, handler):
"""Adds a formatter to the :class:`Dataset`.

.. versionadded:: 0.9.5

:param col: column to. Accepts index int or header str.
:param handler: reference to callback function to execute against
each cell value.
Expand Down