





'''simple docstring'''






import requests



def        UpperCamelCase__		(						__magic_name__  :   str		,       __magic_name__  :   str      )				->			None:
 '''simple docstring'''






 snake_case__     :					str    =  {"""Content-Type""": """application/json"""}
 snake_case__     :					List[str]    =  requests.post(__magic_name__		,       json={"""text""": message_body}		,       headers=__magic_name__      )
 if response.status_code != 2_00:
  snake_case__     :					List[str]    =  (
      """Request to slack returned an error """
      f"{response.status_code}, the response is:\n{response.text}"
  )
  raise ValueError(__magic_name__      )


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>")










"""simple docstring"""

from .configuration_bert_masked import MaskedBertConfig
from .modeling_bert_masked import (
    MaskedBertForMultipleChoice,
    MaskedBertForQuestionAnswering,
    MaskedBertForSequenceClassification,
    MaskedBertForTokenClassification,
    MaskedBertModel,
)
from .modules import *

