Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Optimize unittest loading
Post: RE: Optimize unittest loading

I found performance problem in my code: using PyContracts library. It was analyse too match code and rules via inspect library.
Nazz General Coding Help 3 2,532 Mar-05-2019, 11:59 AM
    Thread: Optimize unittest loading
Post: RE: Optimize unittest loading

1. Code sample (this is only one file): # TODO: this class will extends from core HttpCommunicator from typing import Optional from contracts import contract from config import SPWContainerDsb from ...
Nazz General Coding Help 3 2,532 Mar-05-2019, 09:49 AM
    Thread: Optimize unittest loading
Post: Optimize unittest loading

Hello everyone, I have a problem, let me describe it. I've written a unittest (actually, an integration test) for the whole flow of my application (the flow from incoming request to outgoing respons...
Nazz General Coding Help 3 2,532 Mar-05-2019, 09:04 AM
    Thread: Is a way to create object instance from dict as argument
Post: RE: Is a way to create object instance from dict a...

I've found solution: arguments_list = [] instance = SomeClass(*arguments_list)
Nazz Data Science 1 1,813 Feb-08-2019, 12:31 PM
    Thread: Is a way to create object instance from dict as argument
Post: Is a way to create object instance from dict as ar...

We have class: class DbConnection: def __init__(self, host: str, port: int, db_name: str): self.__host = host self.__port = port self.__db_name = db_name def get_host...
Nazz Data Science 1 1,813 Feb-08-2019, 09:20 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020