Add version added directive to documentation for API v2 models
authorHarmon <Harmon758@gmail.com>
Mon, 25 Oct 2021 09:09:48 +0000 (04:09 -0500)
committerHarmon <Harmon758@gmail.com>
Mon, 25 Oct 2021 09:09:48 +0000 (04:09 -0500)
docs/models.rst

index f9270f2f6b497813e7a2bc31d7ec6a9700eefd70..559bbdcfaa93d414482a7003bcc73ac68877622e 100644 (file)
@@ -54,6 +54,8 @@ Models Reference
 
    .. group-tab:: API v2
 
+      .. versionadded:: 4.0
+
       .. class:: tweepy.Media
 
          :reference: https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/media
@@ -72,6 +74,8 @@ Models Reference
 
       .. class:: tweepy.Space
 
+         .. versionadded:: 4.1
+
          :reference: https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/space
 
       .. class:: tweepy.Tweet