I want send argument to the function in the class but i got below error How Should i define a function can use the argument?
   class Tistory:
        def __init__(self, m_client_id, m_redirect_uri, m_user_id, m_password, m_blogname):
            self.m_client_id = m_client_id
            self.m_redirect_uri = m_redirect_uri
            self.m_user_id = m_user_id
            self.m_password = m_password
            self.m_blogname = m_blogname
    def wrtiePost(m_title, m_content, m_category, m_tag):
        params = {
            'blogName' : self.m_blogname,
            'title' : m_title,
            'content' : m_content,
            'tag' : m_tag,
            'category' : m_category,
            'visibility' : '0',
            #'published' : '',
            #'slogan' : '',
            #'acceptComment' : '1',
            #'password' : '',
            'access_token' : self.getAccessToken(),
            'output' : 'json'
        }
        ....
if __name__== "__main__":
    tistory = Tistory(g_client_id,g_redirect_uri,g_user_id,g_password, g_blogname)
    #tistory.getAccessToken()
    tistory.writePost(m_title="test",m_content="test",m_category="test", m_tag="test")
when I call the function in the class why i get below error?
Traceback (most recent call last):
  File "/Users/chullee/github/tistory/class/tistory.py", line 113, in <module>
    tistory.writePost(m_title="test",m_content="test",m_category="test", m_tag="test")
TypeError: writePost() got an unexpected keyword argument 'm_title'
 
    