cloudant / python-cloudant

A Python library for Cloudant and CouchDB
Apache License 2.0
163 stars 55 forks source link

[WIP] 337 fix creating replication with source and target strings #340

Closed emlaver closed 6 years ago

emlaver commented 6 years ago

What

How

Testing

Issues

fixes #337

TODO: Remove replicator doc that currently exists after tests finish.

TODO: How should source and target dictionaries be passed in? If this below is the expected way, then this will also require fixing as it's not properly handled:

replication_doc = Replicator(client).create_replication(
    {'source': 'src_db', 'target': 'tgt_db'}
)
emlaver commented 6 years ago

@smithsz @ricellis from our slack discussion, we will be removing the source and target optional parameters.