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

CensysCertificates requires keyword arguments #242

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amarkelov
Copy link

Replace positional arguments with keyword ones

Before submitting a pull request, make sure to complete the following:

What kind of PR is this?
Please add an 'x' in the appropriate box, and apply a label to the PR matching the type here.

  • Bug Fix
  • New Module
  • Documentation Update

Checklist For Approval

  • Updated the meta dictionary for the module.
    • If bug fix, updated the version.
  • Indexed the module
  • Added the index to the modules.yml file
  • Made the most out of the available mixins.
  • Ensured the code is PEP8 compliant with pycodestyle or black.

Replace positional arguments with keyword ones
Make query multiline to please pep8
api_id = self.get_key('censysio_id')
api_secret = self.get_key('censysio_secret')
c = CensysCertificates(api_id, api_secret)
c = CensysCertificates(api_id=self.get_key('censysio_id'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CensysCertificates client is now deprecated, please use the CensysCerts class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants