
'''simple docstring'''







import json

import requests

from .fetch_github_info import AUTHENTICATED_USER_ENDPOINT, fetch_github_info







def   lowerCAmelCase(  a__    :  str      ):







       '''simple docstring'''






       class 		snake_case_       :



          """simple docstring"""





          def __init__( self			,   UpperCamelCase):
                 assert isinstance(UpperCamelCase			,   (bytes, str))
                 lowerCamelCase__				   =      content







          def     __UpperCAmelCase      ( self):
                 return json.loads(self.content)

       def mock_response(*a__    :  Optional[int]      , **a__    :  Union[str, Any]      ):
              assert args[0] == AUTHENTICATED_USER_ENDPOINT
              assert "Authorization" in kwargs["headers"]
              assert kwargs["headers"]["Authorization"].startswith("token "      )
              assert "Accept" in kwargs["headers"]
              return FakeResponse(b"{\"login\":\"test\",\"id\":1}"      )

       monkeypatch.setattr(a__      , "get"      , a__      )
       lowerCamelCase__				   =      fetch_github_info("token"      )
       assert result["login"] == "test"
       assert result["id"] == 1



'''simple docstring'''







def   lowerCAmelCase(  a__    :  float      , a__    :  float      , a__    :  int      ):







       '''simple docstring'''






       lowerCamelCase__				   =      [1 / first_term]
       lowerCamelCase__				   =      1 / first_term
       for _ in range(number_of_terms - 1      ):
              first_term += common_difference
              arithmetic_progression.append(a__      )
       lowerCamelCase__				   =      [1 / step for step in arithmetic_progression]
       return sum(a__      )


if __name__ == "__main__":
    import doctest

    doctest.testmod()
    print(sum_of_harmonic_progression(1 / 2, 2, 2))

