Skip to content

add name to domain api#21

Merged
davidlumley merged 2 commits intomasterfrom
david-add-name-to-domain-api
Oct 23, 2017
Merged

add name to domain api#21
davidlumley merged 2 commits intomasterfrom
david-add-name-to-domain-api

Conversation

@davidlumley
Copy link
Copy Markdown
Contributor

We're looking at publicly releasing this next week, so I've gone ahead and added support to the Python package 👍

Comment thread clearbit/__init__.py
from clearbit.resource import Resource
from reveal import Reveal
from risk import Risk
from name_to_domain import NameToDomain
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think remove the underscores

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

name_to_domain is the file name — are you running into errors running this or is there a convention I'm not aware of?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you check, but I have a feeling that's the convention.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I did check before I made the previous comment, but wasn't sure if you knew something I might not haha

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I don't think it's against convention. Looking at PEP-8 and I don't see anything about it https://www.python.org/dev/peps/pep-0008/

Comment thread clearbit/__init__.py
from clearbit.resource import Resource
from reveal import Reveal
from risk import Risk
from name_to_domain import NameToDomain
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I don't think it's against convention. Looking at PEP-8 and I don't see anything about it https://www.python.org/dev/peps/pep-0008/

@davidlumley davidlumley merged commit eb7192c into master Oct 23, 2017
@davidlumley davidlumley deleted the david-add-name-to-domain-api branch October 23, 2017 20:38
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.

3 participants