Skip to content

Commit

Permalink
Address Python Single Quote Escape Issue
Browse files Browse the repository at this point in the history
Summary:
[BizSDK][Python] Address Python Single Quote Escape Issue

Add :escape_single_quote to python value.

Bump the version to 18.0.2 for bug fixing.

Reviewed By: mengxuanzhangz

Differential Revision: D49841002

fbshipit-source-id: 91172d009671190ba449bb29ef698aaa52f0aa3f
  • Loading branch information
stcheng authored and facebook-github-bot committed Oct 2, 2023
1 parent df8fc8e commit 22d7355
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion facebook_business/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from facebook_business.session import FacebookSession
from facebook_business.api import FacebookAdsApi

__version__ = '18.0.1'
__version__ = '18.0.2'
__all__ = [
'session',
'objects',
Expand Down
4 changes: 2 additions & 2 deletions facebook_business/adobjects/catalogitemappealstatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class Field(AbstractObject.Field):
class Status:
this_item_cannot_be_appealed_as_it_is_either_approved_or_already_has_an_appeal = 'This item cannot be appealed as it is either approved or already has an appeal'
this_item_is_not_rejected_for_any_of_channels = 'This item is not rejected for any of channels'
we_ve_encountered_unexpected_error_while_processing_this_request_please_try_again_later_ = 'We've encountered unexpected error while processing this request. Please try again later !'
you_ve_reached_the_maximum_number_of_item_requests_you_can_make_this_week_you_ll_be_able_to_request_item_reviews_again_within_the_next_7_days_ = 'You've reached the maximum number of item requests you can make this week. You'll be able to request item reviews again within the next 7 days.'
we_ve_encountered_unexpected_error_while_processing_this_request_please_try_again_later_ = 'We\'ve encountered unexpected error while processing this request. Please try again later !'
you_ve_reached_the_maximum_number_of_item_requests_you_can_make_this_week_you_ll_be_able_to_request_item_reviews_again_within_the_next_7_days_ = 'You\'ve reached the maximum number of item requests you can make this week. You\'ll be able to request item reviews again within the next 7 days.'
your_request_was_received_see_information_below_to_learn_more_ = 'Your request was received. See information below to learn more.'

_field_types = {
Expand Down
2 changes: 1 addition & 1 deletion facebook_business/apiconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

ads_api_config = {
'API_VERSION': 'v18.0',
'SDK_VERSION': 'v18.0.1',
'SDK_VERSION': 'v18.0.2',
'STRICT_MODE': False
}
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
requirements_filename = os.path.join(this_dir, 'requirements.txt')

PACKAGE_NAME = 'facebook_business'
PACKAGE_VERSION = '18.0.1'
PACKAGE_VERSION = '18.0.2'
PACKAGE_AUTHOR = 'Facebook'
PACKAGE_AUTHOR_EMAIL = ''
PACKAGE_AUTHOR_EMAIL = 'shuotian@meta.com'
PACKAGE_URL = 'https://github.com/facebook/facebook-python-business-sdk'
PACKAGE_DOWNLOAD_URL = \
'https://github.com/facebook/facebook-python-business-sdk/tarball/' + PACKAGE_VERSION
Expand Down

0 comments on commit 22d7355

Please sign in to comment.