Skip to content

Add send_subscriber_agreement function#1

Merged
kerrermanisNL merged 3 commits intobytefrom
add_send_subscriber_agreement_option
Aug 5, 2016
Merged

Add send_subscriber_agreement function#1
kerrermanisNL merged 3 commits intobytefrom
add_send_subscriber_agreement_option

Conversation

@kerrermanisNL
Copy link
Copy Markdown

Able to send subscriber agreement via API wrapper.

}))

def send_subscriber_agreement(self, id, email, language='nl'):
return Base(self.client.post('requests/{id}/sa'.format(id=id), {
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Used '{id}'.format() here, but the other functions use '%d' % id. I went for this, but maybe it needs to be the "old" style to support older versions of Python?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is fine for us, but I'd suggest using the method used in the rest of the code if you plan on submitting the code upstream again. Code consistency FTW and all

@allardhoeve
Copy link
Copy Markdown

Awesome, would be really nice.

@kerrermanisNL kerrermanisNL merged commit 65b4885 into byte Aug 5, 2016
@kerrermanisNL kerrermanisNL deleted the add_send_subscriber_agreement_option branch August 11, 2016 09:41
@kerrermanisNL kerrermanisNL restored the add_send_subscriber_agreement_option branch August 11, 2016 10:06
@Cieper Cieper deleted the add_send_subscriber_agreement_option branch May 4, 2017 13:48
allardhoeve pushed a commit that referenced this pull request May 4, 2017
…_option

Add send subscriber agreement option
tdgroot pushed a commit that referenced this pull request Feb 16, 2026
Disable free san in renew and reissue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants