langchain/utilities/zapier.py/ZapierNLAWrapper/_get_session
class ZapierNLAWrapper:    def _get_session(self) -> Session:
        session = requests.Session()
        session.headers.update(
            {
                "Accept": "application/json",
                "Content-Type": "application/json",
            }
        )

        if self.zapier_nla_oauth_access_token:
            session.headers.update(
                {"Authorization": f"Bearer {self.zapier_nla_oauth_access_token}"}
            )
        else:
            session.params = {"api_key": self.zapier_nla_api_key}

        return session