def METHOD_NAME():
    @op
    def github_op(github_client_resource: GithubResource):
        github = github_client_resource.get_client()
        assert github
        with responses.RequestsMock() as rsps:
            rsps.add(
                rsps.POST,
                "https://api.github.com/app/installations/123/access_tokens",
                status=201,
                json={
                    "token": "fake_token",
                    "expires_at": "2016-07-11T22:14:10Z",
                },
            )
            rsps.add(
                rsps.POST,
                "https://api.github.com/graphql",
                status=200,
                json={
                    "data": {"repository": {"id": 123}},
                },
            )
            rsps.add(
                rsps.POST,
                "https://api.github.com/graphql",
                status=200,
                json={},
            )
            github.create_issue(
                repo_name="dagster",
                repo_owner="dagster-io",
                title="test",
                body="body",
            )
    result = wrap_op_in_graph_and_execute(
        github_op,
        resources={
            "github_client_resource": GithubResource(
                github_app_id=123,
                github_app_private_rsa_key=FAKE_PRIVATE_RSA_KEY,
                github_installation_id=123,
            )
        },
    )
    assert result.success