From wmarantz at salesforce.com Thu Jan 18 13:26:35 2018 From: wmarantz at salesforce.com (William Marantz) Date: Thu, 18 Jan 2018 16:26:35 -0500 Subject: [PDB Tech] Any Recent API Changes? Message-ID: Hi Tech Team, I've had code running for over a year now without issue that just stopped returning records. I'm using the PeeringDB Python library. pdb = PeeringDB() ixp = pdb.all('netixlan', asn='10310', name='Equinix Chicago') either passed with the direct strings for name and ASN or variables no longer returns data other queries in other parts of my code run just fine as does the following which returns far too much data: ixp = pdb.all('netixlan') Thanks -Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: From stefan at 20c.com Thu Jan 18 13:44:04 2018 From: stefan at 20c.com (Stefan Pratter) Date: Thu, 18 Jan 2018 23:44:04 +0200 Subject: [PDB Tech] Any Recent API Changes? In-Reply-To: References: Message-ID: Looking into this, able to reproduce. Not an intended change by any means, looks like something might be broken with netixlan?name filter. Will create github ticket and followup once i know more. Stefan On 18/01/2018 23.26, William Marantz wrote: > Hi Tech Team, > > I've had code running for over a year now without issue that just > stopped returning records. > > I'm using the PeeringDB Python library. > > pdb = PeeringDB() > ixp = pdb.all('netixlan', asn='10310', name='Equinix Chicago') either > passed with the direct strings for name and ASN or variables no longer > returns data > > other queries in other parts of my code run just fine as does the > following which returns far too much data: > ixp = pdb.all('netixlan') > > Thanks > >   -Bill > > > _______________________________________________ > Pdb-tech mailing list > Pdb-tech at lists.peeringdb.com > http://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech > From stefan at 20c.com Thu Jan 18 14:05:26 2018 From: stefan at 20c.com (Stefan Pratter) Date: Fri, 19 Jan 2018 00:05:26 +0200 Subject: [PDB Tech] Any Recent API Changes? In-Reply-To: References: Message-ID: <9e0c167e-1136-277a-fbee-77b09b2dde54@20c.com> I've made the appropriate ticket to track this issue at https://github.com/peeringdb/peeringdb/issues/274 Thanks for your report, as this is an API bug, i will inquire about getting it fast tracked for a bug fix release asap. Stefan On 18/01/2018 23.26, William Marantz wrote: > Hi Tech Team, > > I've had code running for over a year now without issue that just > stopped returning records. > > I'm using the PeeringDB Python library. > > pdb = PeeringDB() > ixp = pdb.all('netixlan', asn='10310', name='Equinix Chicago') either > passed with the direct strings for name and ASN or variables no longer > returns data > > other queries in other parts of my code run just fine as does the > following which returns far too much data: > ixp = pdb.all('netixlan') > > Thanks > >   -Bill > > > _______________________________________________ > Pdb-tech mailing list > Pdb-tech at lists.peeringdb.com > http://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech > From stefan at 20c.com Thu Jan 18 15:29:53 2018 From: stefan at 20c.com (Stefan Pratter) Date: Fri, 19 Jan 2018 01:29:53 +0200 Subject: [PDB Tech] Any Recent API Changes? In-Reply-To: References: Message-ID: <5f32a3fa-6028-a33c-7102-f0915de06f81@20c.com> We have deployed bug-fix release 2.7.2 and the issue should now be fixed. Thanks again for the report, and apologies for the inconvenience. Stefan. On 18/01/2018 23.26, William Marantz wrote: > Hi Tech Team, > > I've had code running for over a year now without issue that just > stopped returning records. > > I'm using the PeeringDB Python library. > > pdb = PeeringDB() > ixp = pdb.all('netixlan', asn='10310', name='Equinix Chicago') either > passed with the direct strings for name and ASN or variables no longer > returns data > > other queries in other parts of my code run just fine as does the > following which returns far too much data: > ixp = pdb.all('netixlan') > > Thanks > >   -Bill > > > _______________________________________________ > Pdb-tech mailing list > Pdb-tech at lists.peeringdb.com > http://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech > From wmarantz at salesforce.com Thu Jan 18 16:18:32 2018 From: wmarantz at salesforce.com (William Marantz) Date: Thu, 18 Jan 2018 19:18:32 -0500 Subject: [PDB Tech] Any Recent API Changes? In-Reply-To: <5f32a3fa-6028-a33c-7102-f0915de06f81@20c.com> References: <5f32a3fa-6028-a33c-7102-f0915de06f81@20c.com> Message-ID: thanks so much for the quick reply and bug fix. I just ran my code again and everything functions properly now! Seems a little bit slower but not a big deal. -Bill On Thu, Jan 18, 2018 at 6:29 PM, Stefan Pratter wrote: > We have deployed bug-fix release 2.7.2 and the issue should now be fixed. > > Thanks again for the report, and apologies for the inconvenience. > > Stefan. > > On 18/01/2018 23.26, William Marantz wrote: > >> Hi Tech Team, >> >> I've had code running for over a year now without issue that just stopped >> returning records. >> >> I'm using the PeeringDB Python library. >> >> pdb = PeeringDB() >> ixp = pdb.all('netixlan', asn='10310', name='Equinix Chicago') either >> passed with the direct strings for name and ASN or variables no longer >> returns data >> >> other queries in other parts of my code run just fine as does the >> following which returns far too much data: >> ixp = pdb.all('netixlan') >> >> Thanks >> >> -Bill >> >> >> _______________________________________________ >> Pdb-tech mailing list >> Pdb-tech at lists.peeringdb.com >> http://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech >> >> _______________________________________________ > Pdb-tech mailing list > Pdb-tech at lists.peeringdb.com > http://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech > -------------- next part -------------- An HTML attachment was scrubbed... URL: