Skip to main content

No project description provided

Project description

stairs-resource-model

Модуль сопоставление материально-человеческих ресурсов (МСЧМ).

Интеграция

Оценка ресурсной команды

Данная функциональность реализована через класс, наследующий Job StairsResourceModelGetResourcesJob. Он импортируется по следующем пути:

from stairs-resource-model.stairs_resource_model.jobs import StairsResourceModelGetResourcesJob

В его методе run принимаются следующие параметры:

  • work_name: str - имя работы
  • measurement: float - единица измерения
  • volume: float - объем работы

Метод run записывает в хранилище результат в формате модели StairsResourceModelGetResourcesResult, она импортируется по следующему пути:

from stairs-resource-model.stairs_resource_model.jobs import StairsResourceModelGetResourcesResult

Описание полей модели:

  • result: list[StairsResourceModelGetResourcesItem] - описание параметра, путь импорта from stairs-resource-model.stairs_resource_model.jobs import StairsResourceModelGetResourcesItem
    • kind: str - тип ресурса
    • volume: int - объем ресурса
    • min_count: int - минимальная оценка
    • max_count: int - максимальная оценка

Оценка времени

Данная функциональность реализована через класс, наследующий Job StairsResourceModelEstimateTimeJob. Он импортируется по следующем пути:

from stairs-resource-model.stairs_resource_model.jobs import StairsResourceModelEstimateTimeJob

В его методе run принимаются следующие параметры:

  • work_unit: WorkUnit, путь для импорта: from stairs-resource-model.stairs_resource_model.schema import WorkUnit
    • name: str - имя работы
    • volume: float - объем работы
    • measurement: str - единица измерения
  • workers: list[ResourceDict], путь для импорта: from stairs-resource-model.stairs_resource_model.schema import ResourceDict
    • name: str - имя ресурса
    • _count: int - количество ресурса

Метод run записывает в хранилище результат в формате модели StairsResourceModelEstimateTimeResult, она импортируется по следующему пути:

from stairs-resource-model.stairs_resource_model.jobs import StairsResourceModelEstimateTimeResult

Описание полей модели:

  • result: int - оценка времени

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stairsres-0.3.2.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stairsres-0.3.2-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file stairsres-0.3.2.tar.gz.

File metadata

  • Download URL: stairsres-0.3.2.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.9 Windows/10

File hashes

Hashes for stairsres-0.3.2.tar.gz
Algorithm Hash digest
SHA256 84d324c0e198831859020904f77f6ab0680a4e81f6c27266bae15322579c8475
MD5 bb887cf4c97ce65e92c5816eee039ad5
BLAKE2b-256 3e20d3633a0086ebc5ba04d9e877232bac21a2002749e8992ad4ed68b7a889b0

See more details on using hashes here.

File details

Details for the file stairsres-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: stairsres-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.9 Windows/10

File hashes

Hashes for stairsres-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 61fa0106a64786e9ba62e919ec42430ebaa938907534fcfcc8ea93e865f3f5b7
MD5 508b93a1a0b79d9bf6eece8cb04656fd
BLAKE2b-256 c3f17c2b39d2a7d5bb9199a9079ff3c67dac5b9d898f59ffd35b21799a2069ec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page