properly indent lists

This commit is contained in:
Mike Dirolf 2009-01-30 15:10:57 -05:00
parent 5dbe8b026c
commit a5ddab40db
3 changed files with 20 additions and 20 deletions

View File

@ -46,17 +46,17 @@ class GridFile(object):
files exist, a new file is created using the metadata in file_spec.
The valid fields in a file_spec are as follows:
- "_id": unique ID for this file
* default: `pymongo.objectid.ObjectId()`
- "filename": human name for the file
- "contentType": valid mime-type for the file
- "length": size of the file, in bytes
* only used for querying, automatically set for inserts
- "chunkSize": size of each of the chunks, in bytes
* default: 256 kb
- "uploadDate": date when the object was first stored
* only used for querying, automatically set for inserts
- "aliases": array of alias strings
- "_id": unique ID for this file
* default: `pymongo.objectid.ObjectId()`
- "filename": human name for the file
- "contentType": valid mime-type for the file
- "length": size of the file, in bytes
* only used for querying, automatically set for inserts
- "chunkSize": size of each of the chunks, in bytes
* default: 256 kb
- "uploadDate": date when the object was first stored
* only used for querying, automatically set for inserts
- "aliases": array of alias strings
:Parameters:
- `file_spec`: query specifier as described above

View File

@ -110,11 +110,11 @@ class Database(object):
Options should be a dictionary, with any of the following options:
- "size": desired initial size for the collection. must be less than or
equal to 10000000000. for capped collections this size is the max
size of the collection.
- "capped": if True, this is a capped collection
- "max": maximum number of objects if capped (optional)
- "size": desired initial size for the collection. must be less than
or equal to 10000000000. for capped collections this size is the max
size of the collection.
- "capped": if True, this is a capped collection
- "max": maximum number of objects if capped (optional)
:Parameters:
- `name`: the name of the collection to create

View File

@ -42,10 +42,10 @@ class Mongo(database.Database):
Settings are passed in as a dictionary. Possible settings, along with
their default values (in parens), are listed below:
- "auto_dereference" (False): automatically dereference any `DBRef`
contained within SON objects being returned from queries
- "auto_reference" (False): automatically create `DBRef` out of any
sub-objects that have already been saved in the database
- "auto_dereference" (False): automatically dereference any `DBRef`
contained within SON objects being returned from queries
- "auto_reference" (False): automatically create `DBRef` out of any
sub-objects that have already been saved in the database
:Parameters:
- `name`: the name of the database to connect to