Skip to main content

Goal

It is reponsible for sending command to Devops Microsoft Real Time Job

Installation

To install devops_microsoft_client_real_time, run this command in your terminal:

pip install devops_microsoft_client_real_time

Usage

To use devops_microsoft_client_real_time in a Python project:

from pprint import pprint
from devops_microsoft_client_real_time.factory.factory import Factory
from devops_microsoft_client_real_time.factory.service_enum import Service

project_service = Factory.create(Service.ScrumProject)
team_project_service = Factory.create(Service.ProjectTeam)
team_member_service = Factory.create(Service.TeamMember)
sprint_service = Factory.create(Service.Sprint)
user_story_service = Factory.create(Service.UserStory)
task_service = Factory.create(Service.ScrumDevelopmentTask)
product_backlog_sprint_backlog_service = Factory.create(Service.Product_backlog)


organization = "Organization UUID SEON"
tfs_key = ""
tfs_url = ""
application = "Application UUID SEON"

pprint ("enviando os dados - Project")

content_task = {
    'createdDate': '2019-11-29T21:11:46.8222058Z',
    'eventType': 'workitem.created',
    'id': '69',
    'resource': {'fields':{'System.WorkItemType': 'Task'}}, 
    'resourceContainers': 
        {
            'account': {'baseUrl': 'https://dev.azure.com/paulossjunior/','id': '16ad67c1-3286-44bb-a0bb-d8ef245f21d2'},
            'collection': {'baseUrl': 'https://dev.azure.com/paulossjunior/','id': '31d31367-7618-485a-a500-f2dcb12e14ec'},
            'project': {'baseUrl': 'https://dev.azure.com/paulossjunior/','id': '0cfe9a70-c6ce-45b0-a898-d3594fc6a08a'}
        }

    }

data = {'organization_id': organization, 
                "tfs_key": tfs_key, 
                "tfs_url": tfs_url,
                "application": application, 
                "content": content_task
        }  

pprint ("enviando as task")
task_service.integrate(organization,data)

Metadata

Release files for devops-microsoft-client-real-time 3.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for devops-microsoft-client-real-time 3.0.2
File Interpreter ABI Platform
devops_microsoft_client_real_time-3.0.2-py3-none-any.whl Python 3 none any Details

Release files / devops_microsoft_client_real_time-3.0.2-py3-none-any.whl

Download URL devops_microsoft_client_real_time-3.0.2-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc0fa89705cac9feeec60c286f22781040eb5090f213a3a6c026f00f70157ca6
BLAKE2b-256 checksum
How to use checksums
b39a7900c301ed5ade95a2308901893b691b1d39f7ee58ad83664fc5077ad8a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3

Release history Release notifications | RSS feed

This release

3.0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page