File tree Expand file tree Collapse file tree 8 files changed +37
-144
lines changed
Expand file tree Collapse file tree 8 files changed +37
-144
lines changed Original file line number Diff line number Diff line change @@ -681,3 +681,23 @@ span.changed {
681681 padding : 5px ;
682682}
683683
684+ dl .class , dl .exception , dl .data , dl .function {
685+ /* background: #fbe3e4 ;*/
686+ border : 1px solid grey;
687+ border-top-style : none;
688+ border-left-style : none;
689+ border-right-style : none;
690+ /* padding: 3px;*/
691+ }
692+
693+ dt .py {
694+ background : # f8f8f8 ;
695+ /* border: 2px solid #aacc99;*/
696+ /* border: 2px solid #ffcccc; /*#ffd324;*/
697+ /* border: 2px solid #fbc2c4;*/
698+ border : 1px solid # e1e1e8 ;
699+ border-top-style : none;
700+ border-left-style : none;
701+ /* border-right-style: none; */
702+ padding : 2px 5px ;
703+ }
Original file line number Diff line number Diff line change @@ -13,19 +13,11 @@ data of various data type.
1313
1414MemoryBuffer
1515============
16-
1716.. autoclass:: MemoryBuffer
1817
1918Buffer factories
2019================
21-
2220.. autoclass:: BufferFactory
23-
24- -------------
25-
2621.. autoclass:: BytesBufferFactory
27-
28- --------------
29-
3022.. autoclass:: CTypesBufferFactory
3123
Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ Changelog
1010 - Added internal functions `_decompose` and `_power_of_two` from stdlib `.enum` module,
1111 because they were removed in Python 3.11.
1212
13+ * `~firebird.base.protobuf` module:
14+
15+ - Use :ref:`importlib.metadata.entry_points <entry-points>` instead `pkg_resources.iter_entry_points`.
16+
17+ * Improved documentation.
18+
1319Version 1.4.2
1420=============
1521
Original file line number Diff line number Diff line change @@ -40,20 +40,12 @@ Types for type hints & annotations
4040
4141Collections
4242===========
43-
4443.. autoclass:: BaseObjectCollection
45-
46- --------
47-
4844.. autoclass:: DataList
49-
50- --------
51-
5245.. autoclass:: Registry
5346
5447Functions
5548=========
56-
5749.. autofunction:: make_lambda
5850
5951
Original file line number Diff line number Diff line change @@ -326,107 +326,38 @@ Application Directory Scheme
326326.. versionchanged:: 1.2.0
327327
328328.. autoclass:: DirectoryScheme
329-
330- -----
331-
332329.. autoclass:: WindowsDirectoryScheme
333-
334- -----
335-
336330.. autoclass:: LinuxDirectoryScheme
337-
338- -----
339-
340331.. autoclass:: MacOSDirectoryScheme
341-
342- -----
343-
344332.. autofunction:: get_directory_scheme
345333
346334Config
347335======
348-
349336.. autoclass:: Config
350337
351338Options
352339=======
353-
354340.. autoclass:: Option
355-
356- -----
357-
358341.. autoclass:: StrOption
359-
360- -----
361-
362342.. autoclass:: IntOption
363-
364- -----
365-
366343.. autoclass:: FloatOption
367-
368- -----
369-
370344.. autoclass:: DecimalOption
371-
372- -----
373-
374345.. autoclass:: BoolOption
375-
376- -----
377-
378346.. autoclass:: ZMQAddressOption
379-
380- -----
381-
382347.. autoclass:: EnumOption
383-
384- -----
385-
386348.. autoclass:: FlagOption
387-
388- -----
389-
390349.. autoclass:: UUIDOption
391-
392- -----
393-
394350.. autoclass:: MIMEOption
395-
396- -----
397-
398351.. autoclass:: ListOption
399-
400- -----
401-
402352.. autoclass:: DataclassOption
403-
404- -----
405-
406353.. autoclass:: PathOption
407-
408- -----
409-
410354.. autoclass:: PyExprOption
411-
412- -----
413-
414355.. autoclass:: PyCodeOption
415-
416- -----
417-
418356.. autoclass:: PyCallableOption
419-
420- -----
421-
422357.. autoclass:: ConfigOption
423-
424- -----
425-
426358.. autoclass:: ConfigListOption
427359
428360Functions
429361=========
430-
431362.. autofunction:: create_config
432363
Original file line number Diff line number Diff line change @@ -142,19 +142,9 @@ Output from sample code::
142142
143143Functions
144144=========
145-
146145.. autofunction:: register_class
147-
148- -------------
149-
150146.. autofunction:: register_name
151-
152- --------
153-
154147.. autofunction:: add_hook
155-
156- -------------
157-
158148.. autofunction:: get_callbacks
159149
160150Classes
Original file line number Diff line number Diff line change @@ -282,43 +282,26 @@ The following program is an example of small but complex enough code that you ca
282282
283283Enums & Flags
284284=============
285-
286285.. autoclass:: LogLevel
287-
288- --------
289-
290286.. autoclass:: BindFlag
291287
292288Functions
293289=========
294-
295290.. autofunction:: bind_logger
296-
297- ----------
298-
299291.. autofunction:: get_logger
300-
301- --------------
302-
303292.. autofunction:: get_logging_id
304-
305- -------------------
306-
307293.. autofunction:: install_null_logger
308294
309295Logger adapter
310296==============
311-
312297.. autoclass:: FBLoggerAdapter
313298
314299Logging manager
315300===============
316-
317301.. autoclass:: LoggingManager
318302
319303Mixins
320304======
321-
322305.. autoclass:: LoggingIdMixin
323306
324307Globals
Original file line number Diff line number Diff line change @@ -13,52 +13,31 @@ The generated `*_pb2.py` protobuf files could be registered using `register_decr
1313or `load_registered` function. The registry could be then used to obtain information
1414about protobuf messages or enum types, or to create message instances or enum values.
1515
16- Functions
16+ Constants
1717=========
18+ .. autodata:: PROTO_EMPTY
19+ .. autodata:: PROTO_ANY
20+ .. autodata:: PROTO_DURATION
21+ .. autodata:: PROTO_TIMESTAMP
22+ .. autodata:: PROTO_STRUCT
23+ .. autodata:: PROTO_VALUE
24+ .. autodata:: PROTO_LISTVALUE
25+ .. autodata:: PROTO_FIELDMASK
1826
27+ Functions
28+ =========
1929.. autofunction:: register_decriptor
20-
21- ---------------
22-
2330.. autofunction:: load_registered
24-
25- -----------------
26-
2731.. autofunction:: is_msg_registered
28-
29- ------------------
30-
3132.. autofunction:: is_enum_registered
32-
33- -------------
34-
3533.. autofunction:: get_enum_type
36-
37- -------------------
38-
3934.. autofunction:: get_enum_value_name
40-
41- --------------
42-
4335.. autofunction:: create_message
44-
45- -------------------
46-
4736.. autofunction:: get_enum_field_type
48-
49- -----------
50-
5137.. autofunction:: struct2dict
52-
53- -----------
54-
5538.. autofunction:: dict2struct
5639
5740Data classes
5841============
59-
6042.. autoclass:: ProtoMessageType
61-
62- -------------
63-
6443.. autoclass:: ProtoEnumType
You can’t perform that action at this time.
0 commit comments