Skip to content

Commit

Permalink
[#5] README formatting tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
trel committed Jan 23, 2021
1 parent 4f1e071 commit b83dbc9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ The list of operations will applied in the order given, so that a "remove" follo
is, in effect, a metadata "set" operation. Also note that a "remove" operation will be ignored if the AVU value given
does not exist on the target object at that point in the sequence of operations.

We can also source from a pre-built list of AVUOperations using Python's f(*args_list) syntax. For example, this
We can also source from a pre-built list of AVUOperations using Python's `f(*args_list)` syntax. For example, this
function uses the atomic metadata API to very quickly remove all AVUs from an object:

>>> def remove_all_avus( Object ):
Expand Down Expand Up @@ -691,10 +691,12 @@ We can also query on access type using its numeric value, which will seem more n
Managing users
--------------

You can create a user in the current zone using:
You can create a user in the current zone (with an optional auth_str):

>>> session.users.create('user', 'rodsuser', 'MyZone', auth_str)
(the auth_str parameter is optional).

If you want to create a user in a federated zone, use:

>>> session.users.create('user', 'rodsuser', 'OtherZone', auth_str)


Expand Down

0 comments on commit b83dbc9

Please sign in to comment.