aio-libs / aioftp

ftp client/server for asyncio (http://aioftp.readthedocs.org)
Apache License 2.0
185 stars 54 forks source link

docs: add keywords to Client.context #130

Closed ch3pjw closed 4 years ago

ch3pjw commented 4 years ago

The tutorial didn't work for me because Client.context() assumed the second argument was the port, not the username. Using keyword arguments solves the problem.

What do these changes do?

Make the tutorial work with aioftp == 0.18.0

Are there changes in behavior for the user?

Only that the tutorial should work out the box!

Related issue number

Checklist

codecov[bot] commented 4 years ago

Codecov Report

Merging #130 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #130   +/-   ##
=======================================
  Coverage   99.04%   99.04%           
=======================================
  Files           6        6           
  Lines        1878     1878           
=======================================
  Hits         1860     1860           
  Misses         18       18           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 94e272d...6c102dc. Read the comment docs.