

import requests

def        lowerCamelCase__       (    _a							,	_a):
	SCREAMING_SNAKE_CASE      :					Dict    =				{"Content-Type": "application/json"}
	SCREAMING_SNAKE_CASE      :					Optional[int]    =				requests.post(_a							,	json={"text": message_body}							,	headers=_a)
	if response.status_code != 200:
		SCREAMING_SNAKE_CASE      :					Dict    =				(
		    "Request to slack returned an error "
		    f"{response.status_code}, the response is:\n{response.text}"
		)
		raise ValueError(_a)


if __name__ == "__main__":
			# Set the slack url to the one provided by Slack when you create the webhook at
			# https://my.slack.com/services/new/incoming-webhook/
			send_slack_message('<YOUR MESSAGE BODY>', '<SLACK CHANNEL URL>')

from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_sentencepiece_available


SCREAMING_SNAKE_CASE							:List[Any]							 =				{}

try:
					if not is_sentencepiece_available():
										raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
					pass
else:
					SCREAMING_SNAKE_CASE							:List[str]							 =				['BartphoTokenizer']

if TYPE_CHECKING:
					try:
										if not is_sentencepiece_available():
															raise OptionalDependencyNotAvailable()
					except OptionalDependencyNotAvailable:
										pass
					else:
										from .tokenization_bartpho import BartphoTokenizer

else:
					import sys

					SCREAMING_SNAKE_CASE							:Union[str, Any]							 =				_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)
