<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:54:12 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[DOCS-7402] Indicate driver version in primer docs</title>
                <link>https://jira.mongodb.org/browse/DOCS-7402</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;Original user comment:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I suspect it&apos;s referring to a later version of pymongo than I have, but I can&apos;t see how to choose the version.   I don&apos;t seem to have the delete_one() method.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;We don&apos;t currently specify which version of PyMongo (or, I assume, any of the other drivers) we&apos;re using in the examples. It might be practical to indicate that you need to be on 2.9+ for the examples to work (or the equivalents for the other drivers). Some folks won&apos;t realize that they&apos;re a few drivers back.&lt;/p&gt;</description>
                <environment>&lt;br/&gt;
&lt;br/&gt;
*Location*: &lt;a href=&quot;https://docs.mongodb.org/getting-started/python/remove/&quot;&gt;https://docs.mongodb.org/getting-started/python/remove/&lt;/a&gt;&lt;br/&gt;
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36&lt;br/&gt;
*Referrer*: &lt;a href=&quot;https://docs.mongodb.org/getting-started/python/remove/&quot;&gt;https://docs.mongodb.org/getting-started/python/remove/&lt;/a&gt;&lt;br/&gt;
*Screen Resolution*: 1280 x 1024&lt;br/&gt;
*repo*: docs&lt;br/&gt;
*source*: remove&lt;br/&gt;
</environment>
        <key id="271739">DOCS-7402</key>
            <summary>Indicate driver version in primer docs</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="xgen-internal-docs">Docs Collector User</reporter>
                        <labels>
                            <label>collector-298ba4e7</label>
                            <label>docs-triage</label>
                    </labels>
                <created>Fri, 11 Mar 2016 11:53:54 +0000</created>
                <updated>Mon, 27 Feb 2023 21:59:13 +0000</updated>
                            <resolved>Mon, 27 Feb 2023 21:59:01 +0000</resolved>
                                                                    <component>primer</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="5234597" author="john.williams" created="Mon, 27 Feb 2023 21:59:01 +0000"  >&lt;p&gt;Python 2 is no longer supported so I think this ticket has gone away&lt;/p&gt;</comment>
                            <comment id="1200482" author="allison.moore@10gen.com" created="Fri, 11 Mar 2016 14:53:59 +0000"  >&lt;p&gt;PyMongo 2.9 revamped the CRUD methods significantly &amp;#8211; the &lt;tt&gt;delete_one&lt;/tt&gt; method was added at that point. You can check which version of PyMongo you&apos;re using by running &lt;tt&gt;import pymongo&lt;/tt&gt; and then &lt;tt&gt;pymongo.version&lt;/tt&gt; from a python shell. This getting started guide uses the new CRUD methods &amp;#8211; we do not have a version for the earlier drivers. For your case, you&apos;d need to use the &lt;tt&gt;remove()&lt;/tt&gt; method, being sure to carefully specify the document that you wish to remove, rather than the new &lt;tt&gt;delete_one()&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;You can find the PyMongo reference documentation for each version here: &lt;a href=&quot;http://api.mongodb.org/python/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://api.mongodb.org/python/&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;If you wish to upgrade your PyMongo version (the new methods are pretty great), there&apos;s also a &lt;a href=&quot;http://api.mongodb.org/python/3.2.1/migrate-to-pymongo3.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;migration guide&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;From our end, adding an indication of what driver version we&apos;re using seems like a good idea - I&apos;m going to scope this ticket to address that.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 11 Mar 2016 14:53:59 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        49 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>john.williams@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            49 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>allison.moore@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-docs</customfieldvalue>
            <customfieldvalue>john.williams@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmxjr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsjawn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrz1iv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>