Merge lp:~cjwatson/storm/docstring-uri into lp:storm

Proposed by Colin Watson
Status: Merged
Merged at revision: 563
Proposed branch: lp:~cjwatson/storm/docstring-uri
Merge into: lp:storm
Diff against target: 22 lines (+12/-0)
1 file modified
storm/uri.py (+12/-0)
To merge this branch: bzr merge lp:~cjwatson/storm/docstring-uri
Reviewer Review Type Date Requested Status
Ioana Lasc (community) Approve
Storm Developers Pending
Review via email: mp+384866@code.launchpad.net

Commit message

Add docstring for storm.uri.URI.

To post a comment you must log in.
Revision history for this message
Ioana Lasc (ilasc) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'storm/uri.py'
2--- storm/uri.py 2019-08-11 09:48:05 +0000
3+++ storm/uri.py 2020-05-29 23:04:58 +0000
4@@ -27,6 +27,18 @@
5
6
7 class URI(object):
8+ """A representation of a Uniform Resource Identifier (URI).
9+
10+ This is intended exclusively for database connection URIs.
11+
12+ @ivar username: The username part of the URI, or C{None}.
13+ @ivar password: The password part of the URI, or C{None}.
14+ @ivar host: The host part of the URI, or C{None}.
15+ @type port: L{int}
16+ @ivar port: The port part of the URI, or C{None}.
17+ @ivar database: The part of the URI representing the database name, or
18+ C{None}.
19+ """
20
21 username = None
22 password = None

Subscribers

People subscribed via source and target branches

to status/vote changes: