MCPcopy Create free account

hub / github.com/PacktPublishing/Hands-On-Software-Engineering-with-Python / functions

Functions737 in github.com/PacktPublishing/Hands-On-Software-Engineering-with-Python

↓ 92 callersMethod_set_is_dirty
(self, value:(bool,int))
hms-core/src/hms_core/data_objects.py:202
↓ 22 callersMethodget
Finds and returns all instances of the class from the back-end data-store whose oids are provided and/or that match the supplied criteria
hms-core/src/hms_core/data_objects.py:559
↓ 22 callersMethodinfo
(self, msg, *args, **kwargs)
hms-core/src/hms_core/daemons.py:515
↓ 18 callersMethodto_dict
(self)
hms-core/src/hms_core/business_objects.py:475
↓ 17 callersMethoddebug
(self, msg, *args, **kwargs)
hms-core/src/hms_core/daemons.py:503
↓ 17 callersMethodto_data_dict
(self)
hms-artisan/test/test_hms_artisan/test_data_storage.py:147
↓ 14 callersMethodfrom_data_dict
(cls, data_dict:(dict,))
hms-artisan/test/test_hms_artisan/test_data_storage.py:161
↓ 12 callersMethodget
Finds and returns all instances of the class from the back-end data-store whose oids are provided and/or that match the supplied criteria
hms-artisan/src/hms_artisan/data_storage.py:503
↓ 11 callersMethodmatches
(self, **criteria)
hms-artisan/src/hms_artisan/artisan_objects.py:607
↓ 10 callersFunctionPrintTestResults
Prints the results of a unit-test run when passed a TestResult object.
standards/idic/unit_testing.py:75
↓ 10 callersFunctionSaveTestReport
Writes the results of a unit-test run when passed a TestResult object.
standards/idic/unit_testing.py:131
↓ 10 callersMethodsave
Saves the instance's state-data to the back-end data-store by creating it if the instance is new, or updating it if the instance is dirty
hms-artisan/src/hms_artisan/data_storage.py:305
↓ 8 callersMethod_load_objects
(cls, force_load=False)
hms-artisan/src/hms_artisan/artisan_objects.py:698
↓ 8 callersMethodmatches
(self, **criteria)
hms-artisan/src/hms_artisan/artisan_objects.py:973
↓ 8 callersMethodmatches
(self, **criteria)
hms-core/src/hms_core/co_objects.py:623
↓ 7 callersMethodto_data_dict
(self)
hms-artisan/src/hms_artisan/artisan_objects.py:659
↓ 6 callersMethod_get_name
(self)
hms-core/src/hms_core/business_objects.py:543
↓ 6 callersMethodfrom_config
(cls, config_file:(str,))
hms-core/src/hms_core/data_storage.py:311
↓ 6 callersMethodsave
Saves the instance's state-data to the back-end data-store by creating it if the instance is new, or updating it if the instance is dirty
hms-core/src/hms_core/data_objects.py:512
↓ 5 callersMethod_get_country
(self)
hms-core/src/hms_core/business_objects.py:118
↓ 5 callersMethod_set_country
(self, value:(str,None))
hms-core/src/hms_core/business_objects.py:207
↓ 5 callersMethod_set_is_new
(self, value:(bool,int))
hms-core/src/hms_core/data_objects.py:215
↓ 5 callersMethod_set_name
(self, value:str)
hms-artisan/src/hms_artisan/artisan_objects.py:385
↓ 5 callersMethod_set_name
(self, value:str)
hms-core/src/hms_core/co_objects.py:417
↓ 5 callersMethodget
(cls, *oids, **criteria)
hms-core/tests/test_hms_core/test_data_objects.py:167
↓ 5 callersMethodmatches
(self, **criteria)
hms-core/src/hms_core/co_objects.py:279
↓ 5 callersMethodset_item_quantity
(self, oid:(UUID,str), quantity:(int,))
hms-artisan/src/hms_artisan/artisan_objects.py:610
↓ 5 callersMethodset_metadata
Sets the value of a specified metadata-key associated with the product that the instance represents. self .............. (BaseProduct instance, req
hms-core/src/hms_core/business_objects.py:942
↓ 5 callersMethodto_data_dict
(self)
hms-artisan/src/hms_artisan/artisan_objects.py:976
↓ 5 callersMethodto_data_dict
(self)
hms-core/src/hms_core/co_objects.py:626
↓ 4 callersMethod__init__
Object initialization. self .............. (Order instance, required) The instance to execute against name .............. (str,
hms-artisan/src/hms_artisan/artisan_objects.py:529
↓ 4 callersMethod_get_building_address
(self)
hms-core/src/hms_core/business_objects.py:112
↓ 4 callersMethod_get_city
(self)
hms-core/src/hms_core/business_objects.py:115
↓ 4 callersMethod_get_postal_code
(self)
hms-core/src/hms_core/business_objects.py:124
↓ 4 callersMethod_get_region
(self)
hms-core/src/hms_core/business_objects.py:121
↓ 4 callersMethod_get_street_address
(self)
hms-core/src/hms_core/business_objects.py:127
↓ 4 callersMethod_set_country
(self, value:(str,None))
hms-artisan/src/hms_artisan/artisan_objects.py:368
↓ 4 callersMethod_set_is_active
(self, value:(bool,int))
hms-core/src/hms_core/data_objects.py:176
↓ 4 callersMethod_set_is_deleted
(self, value:(bool,int))
hms-core/src/hms_core/data_objects.py:189
↓ 4 callersMethod_set_products
(self, value:(list, tuple))
hms-core/scratch-space/HasProducts.py:23
↓ 4 callersMethodconfigure
Reads the instance's configuration-file, converts it to a dictionary of values, then hands the responsibility for actually configuring the instance
hms-core/src/hms_core/daemons.py:380
↓ 4 callersMethoddelete
Performs an ACTUAL record deletion from the back-end data-store of all records whose unique identifiers have been provided
hms-artisan/src/hms_artisan/data_storage.py:461
↓ 4 callersMethoderror
(self, msg, *args, **kwargs)
hms-core/src/hms_core/daemons.py:509
↓ 4 callersMethodfrom_data_dict
(cls, data_dict)
hms-core/tests/test_hms_core/test_data_objects.py:164
↓ 3 callersMethod_del_database
(self)
hms-core/src/hms_core/data_storage.py:199
↓ 3 callersMethod_del_items
(self)
hms-artisan/src/hms_artisan/artisan_objects.py:457
↓ 3 callersMethod_del_name
(self)
hms-artisan/src/hms_artisan/artisan_objects.py:461
↓ 3 callersMethod_del_name
(self)
hms-core/src/hms_core/co_objects.py:466
↓ 3 callersMethod_get_database
(self)
hms-core/src/hms_core/data_storage.py:89
↓ 3 callersMethod_get_summary
(self)
hms-core/src/hms_core/business_objects.py:552
↓ 3 callersMethod_load_objects
Class-level helper-method that loads all of the objects in the local file-system data-store into memory so that they can be used more quickly after
hms-artisan/src/hms_artisan/data_storage.py:354
↓ 3 callersMethod_set_address
(self, value:Address)
hms-core/src/hms_core/co_objects.py:104
↓ 3 callersMethod_set_available
(self, value:(bool,int))
hms-core/src/hms_core/co_objects.py:397
↓ 3 callersMethod_set_billing_address
(self, value:Address)
hms-core/src/hms_core/business_objects.py:1580
↓ 3 callersMethod_set_building_address
(self, value:(str,None))
hms-artisan/src/hms_artisan/artisan_objects.py:358
↓ 3 callersMethod_set_building_address
(self, value:(str,None))
hms-core/src/hms_core/business_objects.py:134
↓ 3 callersMethod_set_city
(self, value:str)
hms-artisan/src/hms_artisan/artisan_objects.py:363
↓ 3 callersMethod_set_city
(self, value:str)
hms-core/src/hms_core/business_objects.py:172
↓ 3 callersMethod_set_company_name
(self, value:str)
hms-core/src/hms_core/co_objects.py:110
↓ 3 callersMethod_set_contact_email
(self, value:str)
hms-core/src/hms_core/co_objects.py:116
↓ 3 callersMethod_set_contact_name
(self, value:str)
hms-core/src/hms_core/co_objects.py:122
↓ 3 callersMethod_set_created
(self, value:(datetime,str,float,int))
hms-core/src/hms_core/data_objects.py:122
↓ 3 callersMethod_set_customer
(self, value:BaseCustomer)
hms-core/src/hms_core/business_objects.py:1788
↓ 3 callersMethod_set_database
(self, value:str)
hms-core/src/hms_core/data_storage.py:108
↓ 3 callersMethod_set_description
(self, value:str)
hms-core/src/hms_core/co_objects.py:402
↓ 3 callersMethod_set_dimensions
(self, value:str)
hms-core/src/hms_core/co_objects.py:407
↓ 3 callersMethod_set_host
(self, value:str)
hms-core/src/hms_core/data_storage.py:126
↓ 3 callersMethod_set_metadata
(self, value:(dict,))
hms-core/src/hms_core/co_objects.py:412
↓ 3 callersMethod_set_modified
(self, value:(datetime,str,float,int))
hms-core/src/hms_core/data_objects.py:228
↓ 3 callersMethod_set_oid
(self, value:(UUID,str))
hms-core/src/hms_core/data_objects.py:281
↓ 3 callersMethod_set_password
(self, value:str)
hms-core/src/hms_core/data_storage.py:144
↓ 3 callersMethod_set_port
(self, value:int)
hms-core/src/hms_core/data_storage.py:162
↓ 3 callersMethod_set_postal_code
(self, value:(str,None))
hms-artisan/src/hms_artisan/artisan_objects.py:428
↓ 3 callersMethod_set_postal_code
(self, value:(str,None))
hms-core/src/hms_core/business_objects.py:283
↓ 3 callersMethod_set_region
(self, value:(str,None))
hms-artisan/src/hms_artisan/artisan_objects.py:423
↓ 3 callersMethod_set_region
(self, value:(str,None))
hms-core/src/hms_core/business_objects.py:245
↓ 3 callersMethod_set_shipping_address
(self, value:Address)
hms-core/src/hms_core/business_objects.py:1590
↓ 3 callersMethod_set_shipping_weight
(self, value:(int,float))
hms-core/src/hms_core/co_objects.py:422
↓ 3 callersMethod_set_store_available
(self, value:(bool,int))
hms-core/src/hms_core/co_objects.py:427
↓ 3 callersMethod_set_street_address
(self, value:str)
hms-core/src/hms_core/business_objects.py:321
↓ 3 callersMethod_set_summary
(self, value:str)
hms-core/src/hms_core/co_objects.py:432
↓ 3 callersMethod_set_user
(self, value:str)
hms-core/src/hms_core/data_storage.py:177
↓ 3 callersMethod_set_website
(self, value:(str,None))
hms-core/src/hms_core/co_objects.py:128
↓ 3 callersMethodadd_product
(self, product:BaseProduct)
hms-artisan/src/hms_artisan/artisan_objects.py:268
↓ 3 callersMethodadd_product
(self, product:BaseProduct)
hms-core/src/hms_core/co_objects.py:276
↓ 3 callersMethodget_mongo_collection
Helper class-method that retrieves the relevant MongoDB collection for data-access to state-data records for the class.
hms-core/src/hms_core/data_storage.py:777
↓ 3 callersMethodmain
The main event-loop (or whtever is equivalent) for the service instance.
hms-core/src/hms_core/daemons.py:241
↓ 3 callersMethodmatches
(self, **criteria)
hms-artisan/src/hms_artisan/artisan_objects.py:271
↓ 3 callersMethodshow
(self)
scratch-space/me.py:46
↓ 3 callersFunctionsome_function
(*args, **kwargs)
hms-gateway/scratch-space/logging-examples/logging-example.py:29
↓ 3 callersMethodto_data_dict
(self)
hms-core/src/hms_core/co_objects.py:285
↓ 3 callersMethodto_data_dict
(self)
hms-core/tests/test_hms_core/test_data_objects.py:158
↓ 2 callersMethod__init__
Object initialization. self .............. (Order instance, required) The instance to execute against customer .......... (Base
hms-core/future/co_objects.py:186
↓ 2 callersMethod__init__
Object initialization. self .............. (Address instance, required) The instance to execute against street_address .... (st
hms-core/src/hms_core/business_objects.py:418
↓ 2 callersMethod__init__
Object initialization. self .............. (Artisan instance, required) The instance to execute against contact_name ...... (st
hms-core/src/hms_core/co_objects.py:207
↓ 2 callersMethod_del_address
(self)
hms-core/src/hms_core/business_objects.py:1419
↓ 2 callersMethod_del_address
(self)
hms-core/src/hms_core/co_objects.py:138
↓ 2 callersMethod_del_available
(self)
hms-core/src/hms_core/co_objects.py:446
↓ 2 callersMethod_del_billing_address
(self)
hms-core/src/hms_core/business_objects.py:1642
↓ 2 callersMethod_del_building_address
(self)
hms-core/src/hms_core/business_objects.py:360
next →1–100 of 737, ranked by callers