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

[LD-1386] Fix Python scripts and add reveal_phone_number + webhook-url fields #72

Merged
merged 4 commits into from
May 14, 2024

Conversation

Kavya-24
Copy link

@Kavya-24 Kavya-24 commented May 6, 2024

Make sure you've checked off all these things before submitting:
https://apollopde.atlassian.net/browse/LD-1386
Core Incident: https://apollopde.atlassian.net/browse/INCIDENT-8522

  1. Fix Python script errors in Docs
  2. Add reveal_phone_number and webhook_url field

Before:
Screenshot 2024-05-06 at 2 10 43 PM

Screenshot 2024-05-06 at 2 10 55 PM

After
Screenshot 2024-05-06 at 2 11 22 PM

Screenshot 2024-05-06 at 2 11 33 PM
  • This pull request isn't for a company's fork, it's intended for the upstream Slate shared by everybody.
  • This pull request is submitted to the master branch.
  • If it makes frontend changes, this pull request has been tested in the latest version of Firefox, Chrome, IE, and Safari.
  • If it is an API related fix, the shell and python code have been tested

@Kavya-24 Kavya-24 requested a review from a team May 6, 2024 08:42
@Kavya-24 Kavya-24 self-assigned this May 6, 2024
@@ -35,23 +37,25 @@ url = "https://api.apollo.io/api/v1/people/bulk_match"

data = {
"api_key": "YOUR API KEY HERE",
"reveal_personal_emails": true,
"reveal_personal_emails": True,

Choose a reason for hiding this comment

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

Please keep this as true instead of True. Same way for other places as well

Copy link
Author

Choose a reason for hiding this comment

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

This is actually wrong. Python boolean representation is True and not true
Therefore, when a request is made from python, we should have True.

Copy link

@Atulm3991 Atulm3991 left a comment

Choose a reason for hiding this comment

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

Please change the boolean value

@Kavya-24 Kavya-24 requested a review from Atulm3991 May 6, 2024 16:05
Copy link

@Atulm3991 Atulm3991 left a comment

Choose a reason for hiding this comment

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

LGTM

@Kavya-24 Kavya-24 merged commit 334e844 into master May 14, 2024
Kavya-24 added a commit that referenced this pull request May 14, 2024
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