Code Monkey home page Code Monkey logo

Comments (3)

komuw avatar komuw commented on August 21, 2024

Hi,

First; thanks for using sewer and I'm glad to hear it seems to work for you. It's interesting that you are using it in AWS lambda no less.

What you are asking for sounds easy to do - off the top of my head- .
We would just need to move this line from inside the loop;

self.dns_class.create_dns_record(dns_name, domain_dns_value)

However, I cant think of a way -again off the top of my head- to implement it in a backward compatible manner. This is because the method, create_dns_record;

def create_dns_record(self, domain_name, domain_dns_value):
expects one domain name for every invocation and if we change it to accept more, it will be backward incompatible .

I'll mull on this for sometime. I'm happy to hear suggestions.

from sewer.

komuw avatar komuw commented on August 21, 2024

or maybe if we used asyncio, we could race requests; i dont know

from sewer.

mmaney avatar mmaney commented on August 21, 2024

Batching of challenges first landed in #178 in the new ProviderBase class in auth.py. A still not quite final version is in release 0.8.2, and further refinement in the work that's been seeping into master since the release.

Of course the batching can't do anything immediately for the legacy DNS classes, but there's now an interface to migrate them to that can take advantage of batching. I think that addresses as much of this bug as I can - services that don't admit that there may be multiple occurrences of a record type for a single identity are... Well, we can always hope it's just their API that comes up so short, and that they fix it.

from sewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.